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

Re: Hi!

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Daniela Mamede d'Almeida <dmamede(at)mecon(dot)gov(dot)ar>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Hi!
Date: 2009-12-02 01:20:17
Message-ID: 4B15C0D1.10203@postnewspapers.com.au (view raw or flat)
Thread:
Lists: pgsql-odbc
On 2/12/2009 4:03 AM, Daniela Mamede d'Almeida wrote:
> Hi!
> I'm trying to connect an Oracle Db with a PostgreSQL Db, by means of
> Oracle heterogeneous service.
> I've installed (in my oracle server) DG4ODBC which is the oracle
> gateway, UnixODBC which is the driver manager... and all I need now is
> the PostgreSQL driver. I've downloaded psqlodbc... but I can't
> "configure" it as it says that theres a missing variable ...
> "PG_CONFIG".

Possible hints:

http://www.google.com.au/search?q="PG_CONFIG"+"unixodbc"

Particularly:

http://cpansearch.perl.org/src/RKIES/UnixODBC-0.34/dbms/README

... which suggests that you must specify PG_CONFIG as an environment 
variable when calling configure:

# export PG_CONFIG=/usr/local/pgsql/bin/pg_config
# ./configure

(adjust PG_CONFIG for the location of pg_config on your system).

--
Craig Ringer

In response to

  • Hi! at 2009-12-01 20:03:24 from Daniela Mamede d'Almeida

Responses

  • Re: Hi! at 2009-12-02 14:35:18 from Daniela Mamede d'Almeida

pgsql-odbc by date

Next:From: Stephen FrostDate: 2009-12-02 01:45:56
Subject: Re: Fwd: psql+krb5
Previous:From: Craig RingerDate: 2009-12-02 01:04:34
Subject: Re: Fwd: psql+krb5

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