Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2766D632943 for ; Wed, 2 Dec 2009 10:36:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 81613-02 for ; Wed, 2 Dec 2009 14:36:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relay2.mecon.ar (relay2.mecon.gov.ar [168.101.16.11]) by mail.postgresql.org (Postfix) with ESMTP id DA763633F67 for ; Wed, 2 Dec 2009 10:36:16 -0400 (AST) Received: from relay2.mecon.ar (localhost [127.0.0.1]) by relay2.mecon.ar (8.13.1/8.13.1) with ESMTP id nB2EaDrB003854 for ; Wed, 2 Dec 2009 11:36:13 -0300 Received: from racing2.mecon.ar (racing2.mecon.ar [10.8.2.11]) by relay2.mecon.ar (8.13.1/8.13.1) with ESMTP id nB2EaC7w003850; Wed, 2 Dec 2009 11:36:13 -0300 Received: from racing2.mecon.ar (localhost.localdomain [127.0.0.1]) by racing2.mecon.ar (8.13.1/8.13.7) with ESMTP id nB2EaCmt002346; Wed, 2 Dec 2009 11:36:12 -0300 Received: from [192.13.100.70] ([192.13.100.70]) by racing2.mecon.ar (8.13.1/8.13.7) with ESMTP id nB2EaCXK002338; Wed, 2 Dec 2009 11:36:12 -0300 Message-ID: <4B167B26.8050809@mecon.gov.ar> Date: Wed, 02 Dec 2009 11:35:18 -0300 From: "Daniela Mamede d'Almeida" User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Craig Ringer CC: pgsql-odbc@postgresql.org Subject: Re: Hi! References: <4B15768C.50500@mecon.gov.ar> <4B15C0D1.10203@postnewspapers.com.au> In-Reply-To: <4B15C0D1.10203@postnewspapers.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-Product-Ver: IMSS-7.0.0.3116-6.0.0.1038-17044.007 X-TM-AS-User-Approved-Sender: Yes X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/6 X-Sequence-Number: 10133 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