Re: Compiling with unixodbc support

From: Giuliano Gavazzi <dev+pgsql(at)humph(dot)com>
To: aklaver(at)attbi(dot)com, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Compiling with unixodbc support
Date: 2003-03-27 09:14:58
Message-ID: a05210504baa870fd8a40@[10.0.1.18]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

At 18:51 -0800 2003/03/22, Adrian Klaver wrote:
[...]
>The problem arises at the very end when I get the following message:
>
>.....gcc -shared info.lo bind.lo columninfo.lo connection.lo convert.lo
>drvconn.lo environ.lo execute.lo lobj.lo win_md5.lo misc.lo options.lo
>pgtypes.lo psqlodbc.lo qresult.lo results.lo socket.lo parse.lo statement.lo
>tuple.lo tuplelist.lo dlg_specific.lo odbcapi.lo multibyte.lo gpps.lo
>-lodbcinst -Wl,-soname -Wl,psqlodbc.so -o .libs/psqlodbc.so
>/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
>cannot find -lodbcinst
>collect2: ld returned 1 exit status
>make[1]: *** [psqlodbc.la] Error 1
>make[1]: Leaving directory `/tmp/psqlodbc-7.2.5'
>make: *** [all] Error 2
>
>Any clues as how to get from here would be wonderful.

you have to find the location of the libodbcinst.something file. Use
locate (man locate). It must be where the unixodbc files are
installed. Then you can specify an additional library path with the
-L option (IFRW).

Giuliano

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message DI Hasenöhrl 2003-03-27 09:30:10 troubles with ODBC tables
Previous Message Hiroshi Inoue 2003-03-27 09:06:39 Re: updateable cursors & visibility