Re: compiling odbc - Mailing list pgsql-odbc

From Hiroshi Saito
Subject Re: compiling odbc
Date
Msg-id 023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D
Whole thread Raw
In response to Re: compiling odbc  (Brent Austin <brent1a@yahoo.com>)
List pgsql-odbc
> 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


pgsql-odbc by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: compiling odbc
Next
From: Zoltan Boszormenyi
Date:
Subject: Re: Compiler warnings in psqloodbc 08.03.0200