Re: compiling odbc

Поиск
Список
Период
Сортировка
От Hiroshi Saito
Тема Re: compiling odbc
Дата
Msg-id 023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D
обсуждение исходный текст
Ответ на Re: compiling odbc  (Brent Austin <brent1a@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: compiling odbc
Следующее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: Compiler warnings in psqloodbc 08.03.0200