Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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
hiroshi(at)developer:~$ odbc_config --libs
-L/usr/local/lib -lodbc

iODBC is this.
inet% which iodbc-config
inet% iodbc-config --libs
-L/usr/local/lib  -liodbc -liodbcinst

Brent-san, are they found from your path? 

Hiroshi Saito

In response to

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group