From: Daniela Mamede d'Almeida <dmamede@mecon.gov.ar>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Hi!
Date: Wed, 02 Dec 2009 11:35:18 -0300
Message-ID: <4B167B26.8050809@mecon.gov.ar> (raw)
In-Reply-To: <4B15C0D1.10203@postnewspapers.com.au>
References: <4B15768C.50500@mecon.gov.ar>
<4B15C0D1.10203@postnewspapers.com.au>
Thanks for answering!
My problem is that the Oracle Db and the PostgreSQL Db are both on
different servers, and I;ve been told by Oracle support that I need to
install the PostgreSQL driver in my Oracle server. Now I don't know how
to solve the PG_CONFIG error, as there's no pg_config file in the Oracle
server!
How can I solve this?
Thanks a lot!
Daniela.
Craig Ringer escribió:
> 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
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: dmamede@mecon.gov.ar, craig@postnewspapers.com.au
Subject: Re: Hi!
In-Reply-To: <4B167B26.8050809@mecon.gov.ar>
References: <4B15768C.50500@mecon.gov.ar> <4B15C0D1.10203@postnewspapers.com.au> <4B167B26.8050809@mecon.gov.ar>
* 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