Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5F65464FC1C for ; Tue, 23 Sep 2008 05:02:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 59566-09 for ; Tue, 23 Sep 2008 05:02:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.guitar.ocn.ne.jp (guitar.ocn.ne.jp [122.28.30.209]) by postgresql.org (Postfix) with ESMTP id BDD1264FC15 for ; Tue, 23 Sep 2008 05:02:19 -0300 (ADT) Received: from IBMC9A0F63B40D (p5023-ipadfx01funabasi.chiba.ocn.ne.jp [218.43.105.23]) by smtp.guitar.ocn.ne.jp (Postfix) with SMTP id 1453D2FE3; Tue, 23 Sep 2008 17:02:14 +0900 (JST) Message-ID: <023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D> From: "Hiroshi Saito" To: "Peter Eisentraut" , "Brent Austin" Cc: "Zoltan Boszormenyi" , References: <361567.58269.qm@web65412.mail.ac4.yahoo.com> <48D89F3B.8020101@gmx.net> Subject: Re: compiling odbc Date: Tue, 23 Sep 2008 17:02:13 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/33 X-Sequence-Number: 9626 > Brent Austin wrote: >> That's the thing, I have unixODBC installed, it is located >> at /opt/local/bin that is why I need help figuring out how to get the >> terminal to recognize where both pg_config AND obdcinst are at during >> the ./configure process. >> PATH=$PATH:/usr/local/pgsql/bin:/opt/local/bin should work but it's >> not recognizing the second part.....the odncinst part. > > Try something like > > export LDFLAGS=-L/opt/local/lib Yeah, or they must be found odbc_config(unixODBC) by configure. unixODBC is this hiroshi@developer:~$ which odbc_config /usr/local/bin/odbc_config hiroshi@developer:~$ odbc_config --libs -L/usr/local/lib -lodbc iODBC is this. inet% which iodbc-config /usr/local/bin/iodbc-config inet% iodbc-config --libs -L/usr/local/lib -liodbc -liodbcinst Brent-san, are they found from your path? Regards, Hiroshi Saito