pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Daniela Mamede d'Almeida <dmamede@mecon.gov.ar>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Hi!
Date: Wed, 02 Dec 2009 23:05:45 +0800
Message-ID: <4B168249.2060509@postnewspapers.com.au> (raw)
In-Reply-To: <4B167B26.8050809@mecon.gov.ar>
References: <4B15768C.50500@mecon.gov.ar>
	<4B15C0D1.10203@postnewspapers.com.au>
	<4B167B26.8050809@mecon.gov.ar>

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



view thread (21+ messages)  latest in thread

Message-ID: <4B168249.2060509@postnewspapers.com.au>
Permalink:  ../4B168249.2060509@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4B168249.2060509@postnewspapers.com.au

 · 

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: craig@postnewspapers.com.au, dmamede@mecon.gov.ar
  Subject: Re: Hi!
  In-Reply-To: <4B168249.2060509@postnewspapers.com.au>
  References: <4B15768C.50500@mecon.gov.ar> <4B15C0D1.10203@postnewspapers.com.au> <4B167B26.8050809@mecon.gov.ar> <4B168249.2060509@postnewspapers.com.au>

* 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