Re: compiling odbc

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Brent Austin" <brent1a(at)yahoo(dot)com>
Cc: "Zoltan Boszormenyi" <zb(at)cybertec(dot)at>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: compiling odbc
Date: 2008-09-23 08:02:13
Message-ID: 023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)developer:~$ which odbc_config
/usr/local/bin/odbc_config
hiroshi(at)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Zoltan Boszormenyi 2008-09-29 10:03:40 Re: Compiler warnings in psqloodbc 08.03.0200
Previous Message Peter Eisentraut 2008-09-23 07:48:11 Re: compiling odbc