pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Configure script unable to find PgSQL dir 2+ messages / 2 participants [nested] [flat]
* Configure script unable to find PgSQL dir @ 2012-05-23 13:56 Joe Tseng <joe_tseng@hotmail.com> 0 siblings, 1 reply; 2+ messages in thread From: Joe Tseng @ 2012-05-23 13:56 UTC (permalink / raw) To: pgsql-odbc I'm attempting to compile and install this from source but I'm getting a "library not found" error: # ls -l /export/appl/pkgs/pgsql total 4 lrwxrwxrwx 1 root other 6 May 23 09:29 latest -> v9.1.3 drwxr-xr-x 6 root other 512 May 8 16:02 v9.1.3 ./configure \ --prefix=/export/appl/pkgs/psqlodbc/v09.01.0100 \ --with-libpq=/export/appl/pkgs/pgsql/latest \ --with-unixodbc=/export/appl/pkgs/unixodbc/latest \ --enable-unicode \ --host=sparc-sun-solaris2.10 \ --disable-openssl ... checking for PQconnectdb in -lpq... no configure: error: libpq library not found I also configured using --without-libpq and the package was made and installed correctly, but I don't think it knows how to connect: # ./isql pidcim11 odbcuser xxx [ISQL]ERROR: Could not SQLConnect If this is not the right address to ask questions is there a forum that I can post my problem to? thx, - Joe If you type "Google" into Google, you can break the Internet. -- Jen Barber = ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Configure script unable to find PgSQL dir @ 2012-05-23 14:18 Adrian Klaver <adrian.klaver@gmail.com> parent: Joe Tseng <joe_tseng@hotmail.com> 0 siblings, 0 replies; 2+ messages in thread From: Adrian Klaver @ 2012-05-23 14:18 UTC (permalink / raw) To: Joe Tseng <joe_tseng@hotmail.com>; +Cc: pgsql-odbc On 05/23/2012 06:56 AM, Joe Tseng wrote: > I'm attempting to compile and install this from source but I'm getting a > "library not found" error: > > # ls -l /export/appl/pkgs/pgsql > total 4 > lrwxrwxrwx 1 root other 6 May 23 09:29 latest -> v9.1.3 > drwxr-xr-x 6 root other 512 May 8 16:02 v9.1.3 > > ./configure \ > --prefix=/export/appl/pkgs/psqlodbc/v09.01.0100 \ > --with-libpq=/export/appl/pkgs/pgsql/latest \ > --with-unixodbc=/export/appl/pkgs/unixodbc/latest \ > --enable-unicode \ > --host=sparc-sun-solaris2.10 \ > --disable-openssl > ... > checking for PQconnectdb in -lpq... no > configure: error: libpq library not found > > I also configured using --without-libpq and the package was made and > installed correctly, but I don't think it knows how to connect: > > # ./isql pidcim11 odbcuser xxx > [ISQL]ERROR: Could not SQLConnect > > If this is not the right address to ask questions is there a forum that > I can post my problem to? My guess is you do not have the Postgres dev libraries for libpq. That the libpq you are pointing at is the client binary. Verify whether you have postgresql-dev(or equivalent) installed. > > thx, > > - Joe > > > If you type "Google" into Google <http://en.wikipedia.org/wiki/Google;, > you can break the Internet. -- Jen Barber -- Adrian Klaver adrian.klaver@gmail.com ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-05-23 14:18 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2012-05-23 13:56 Configure script unable to find PgSQL dir Joe Tseng <joe_tseng@hotmail.com> 2012-05-23 14:18 ` Adrian Klaver <adrian.klaver@gmail.com>
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