X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 20C9747630B for ; Thu, 27 Mar 2003 04:15:24 -0500 (EST) Received: from mailhost.humph.com (mailhost.humph.com [193.112.138.73]) by postgresql.org (Postfix) with ESMTP id 7EBA3476317 for ; Thu, 27 Mar 2003 04:15:13 -0500 (EST) Received: from pc3-cmbg2-5-cust150.cmbg.cable.ntl.com ([80.4.125.150] helo=[10.0.1.18]) by mailhost.humph.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.12) id HCEHPE-000IAL-00; Thu, 27 Mar 2003 09:15:14 +0000 Mime-Version: 1.0 Message-Id: In-Reply-To: <200303221851.15007.aklaver@attbi.com> References: <200303221851.15007.aklaver@attbi.com> Date: Thu, 27 Mar 2003 09:14:58 +0000 To: aklaver@attbi.com, pgsql-odbc@postgresql.org From: Giuliano Gavazzi Subject: Re: Compiling with unixodbc support Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Status: No, hits=-15.5 required=5.0 tests=BAYES_10,IN_REP_TO,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/76 X-Sequence-Number: 2795 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