From: Giuliano Gavazzi <dev+pgsql@humph.com>
To: aklaver@attbi.com
To: pgsql-odbc@postgresql.org
Subject: Re: Compiling with unixodbc support
Date: Thu, 27 Mar 2003 09:14:58 +0000
Message-ID: <a05210504baa870fd8a40@[10.0.1.18]> (raw)
In-Reply-To: <200303221851.15007.aklaver@attbi.com>
References: <200303221851.15007.aklaver@attbi.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: dev+pgsql@humph.com, aklaver@attbi.com
Subject: Re: Compiling with unixodbc support
In-Reply-To: <a05210504baa870fd8a40@[10.0.1.18]>
References: <200303221851.15007.aklaver@attbi.com> <a05210504baa870fd8a40@[10.0.1.18]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox