pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
To: Peter Eisentraut <peter_e@gmx.net>
To: Brent Austin <brent1a@yahoo.com>
Cc: Zoltan Boszormenyi <zb@cybertec.at>
Cc: pgsql-odbc@postgresql.org
Subject: Re: compiling odbc
Date: Tue, 23 Sep 2008 17:02:13 +0900
Message-ID: <023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D> (raw)
References: <361567.58269.qm@web65412.mail.ac4.yahoo.com>
	<48D89F3B.8020101@gmx.net>

> 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




view thread (17+ messages)

Message-ID: <023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D>
Permalink:  ../023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D/
Also on:    postgresql.org/message-id/023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: z-saito@guitar.ocn.ne.jp, peter_e@gmx.net, brent1a@yahoo.com, zb@cybertec.at
  Subject: Re: compiling odbc
  In-Reply-To: <023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D>
  References: <361567.58269.qm@web65412.mail.ac4.yahoo.com> <48D89F3B.8020101@gmx.net> <023f01c91d52$b083c800$0b01a8c0@IBMC9A0F63B40D>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox