| From: | Joe Tseng <joe_tseng(at)hotmail(dot)com> | 
|---|---|
| To: | <pgsql-odbc(at)postgresql(dot)org> | 
| Subject: | Configure script unable to find PgSQL dir | 
| Date: | 2012-05-23 13:56:43 | 
| Message-ID: | SNT139-W282A0ECC1D2E26B6A1E4639B030@phx.gbl | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | 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
 		 	   		  
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2012-05-23 14:18:17 | Re: Configure script unable to find PgSQL dir | 
| Previous Message | Hiroshi Inoue | 2012-05-23 03:53:21 | Re: cannot copy very large bytea data |