Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id CBF0B634E13 for ; Wed, 2 Dec 2009 11:06:31 -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 86084-03-7 for ; Wed, 2 Dec 2009 15:06:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id 61BAF63441D for ; Wed, 2 Dec 2009 11:05:55 -0400 (AST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 5EECB1E044B; Wed, 2 Dec 2009 23:05:52 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 60fFJ9OmqgeZ; Wed, 2 Dec 2009 23:05:50 +0800 (WST) Received: from [10.1.1.6] (124-169-88-117.dyn.iinet.net.au [124.169.88.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 3BA011E044E; Wed, 2 Dec 2009 23:05:49 +0800 (WST) Message-ID: <4B168249.2060509@postnewspapers.com.au> Date: Wed, 02 Dec 2009 23:05:45 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091121 Thunderbird/3.0 MIME-Version: 1.0 To: Daniela Mamede d'Almeida CC: pgsql-odbc@postgresql.org Subject: Re: Hi! References: <4B15768C.50500@mecon.gov.ar> <4B15C0D1.10203@postnewspapers.com.au> <4B167B26.8050809@mecon.gov.ar> In-Reply-To: <4B167B26.8050809@mecon.gov.ar> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/8 X-Sequence-Number: 10135 On 2/12/2009 10:35 PM, Daniela Mamede d'Almeida wrote: > 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! Er ... The file `pg_config' is part of the PostgreSQL package. It's installed with the server. It's a program that should be in the server's binary directory, in the same place as `psql'. Since you're building pgodbc from source, I'm assuming you also built and installed PostgreSQL from sources, so you should have it. If you installed distro binaries, you'll probably need a -dev or -devel package for libpq too. HOWEVER, if you installed PostgreSQL using your distro's packaging system, you should just install psqlodbc that way too, not build it from sources. It should be in your distro's package management system. On my Debian and Ubuntu systems, for example, I just "apt-get install odbc-postgresql" to install it. If you'd given us a few basic details like what PostgreSQL version you had, where you got it from, how you installed it, the OS and version you were running on, etc, it might be a little bit easier to help you with this. See: http://wiki.postgresql.org/wiki/Guide_to_reporting_problems -- Craig Ringer