[Pdns-users] Compiling latest powerdns ina rh9 box, problems with postgresql

Luis Miguel Cruz Miranda luismi at b2bi.es
Mon Nov 24 12:47:47 UTC 2003


Hi all,

I am sure that my problem has been asked before in this list.
I tried to find the answer at google.com without results so here I am.

I have this packages installed:

postgresql-python-7.3.4-3.rhl9
postgresql-server-7.3.4-3.rhl9
postgresql-7.3.4-3.rhl9
postgresql72-libs-1-4.rhl9
postgresql-contrib-7.3.4-3.rhl9
postgresql-docs-7.3.4-3.rhl9
postgresql-jdbc-7.3.4-3.rhl9
postgresql-libs-7.3.4-3.rhl9
gnucash-backend-postgres-1.8.1-3
postgresql-odbc-7.2.5-1
postgresql-test-7.3.4-3.rhl9
postgresql-tcl-7.3.4-3.rhl9
postgresql-pl-7.3.4-3.rhl9
postgresql-devel-7.3.4-3.rhl9

And I also installed libpq++-4.0 by hand:

# ll /usr/lib/libpq*
-rw-r--r--    1 root     root      1072836 nov  4 21:45 /usr/lib/libpq.a
lrwxrwxrwx    1 root     root           12 nov 20 14:31 /usr/lib/libpq.so 
-> libpq.so.3.0
lrwxrwxrwx    1 root     root           12 nov 20 14:28 /usr/lib/libpq.so.2 
-> libpq.so.2.2
-rwxr-xr-x    1 root     root        61252 nov  4 18:45 /usr/lib/libpq.so.2.2
lrwxrwxrwx    1 root     root           12 nov 20 14:27 /usr/lib/libpq.so.3 
-> libpq.so.3.0
-rwxr-xr-x    1 root     root        86964 nov  4 21:45 /usr/lib/libpq.so.3.0
lrwxrwxrwx    1 root     root           14 nov 24 13:29 
/usr/lib/libpq++.so.4 -> libpq++.so.4.0
-rwxr-xr-x    1 root     root        35043 nov 24 13:25 /usr/lib/libpq++.so.4.0

I use this command line:
  ./configure --enable-pdns_server --enable-recursor 
-enable-static-binaries --with-modules="gmysql gpgsql" 
--with-pgsql-lib=/usr/lib --with-pgsql-includes=/usr/include

And here is the error:
checking for PgSQL library directory... configure: error: Didn't find the 
pgsql library dir in '/usr/lib/lib/pgsql /usr/lib/pgsql /usr/lib'

I need help.
Thanks in advanced.

Luis Miguel Cruz Miranda.               |       B2B INTEGRAL, S.A.
CCNA - Systems Administrator            |       Pol. Ind. de Asipo
                                         |       C/A - Parcela 86-C
Tel: +34 902 506 605                    |       33.428 - CAYES - LLANERA
Fax:+34 985 980 794                     |       ASTURIAS (ESPAÑA/SPAIN) 



More information about the Pdns-users mailing list