trouble with mod_auth_pgsql - Mailing list pgsql-interfaces

From cliff@cliffmeyers.com
Subject trouble with mod_auth_pgsql
Date
Msg-id 20030520211432.10782.h014.c001.wm@mail.cliffmeyers.com.criticalpath.net
Whole thread Raw
List pgsql-interfaces
This was the best forum I could find to try and post this message, so apologies
if it's OT... but, here goes...

I tried installing mod_auth_pgsql 0.9.12 with Apache 1.3.27 statically linked and
I'm having problems during the apache make.  If I try to build it statically,
when I configure Apache with:

./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/auth_pgsql/mod_auth_pgsql.c

I get this error during apache's make:

gcc  -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci`   -o gen_test_char
gen_test_char.o  -L/usr/local/pgsql/lib/ -lpq  -lm -lcrypt -lexpat
./gen_test_char >test_char.h
./gen_test_char: error while loading shared libraries: libpq.so.3: cannot open
shared object file: No such file or directory
make[3]: *** [test_char.h] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.27'
make: *** [build] Error 2


However, /usr/local/pgsql/lib/libpq.so.3 DOES in fact exist on my system. I tried
passing the lib and include dirs in the configure for mod_auth_pgsql directly but
that didn't seem to make a difference.  I built mod_auth_pgsql with the standard
directions but I can't seem to figure this one out... any suggestions?  Thanks!

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



pgsql-interfaces by date:

Previous
From: "Johann Thoyer"
Date:
Subject: pg_connect
Next
From: "Sasmazel, Levent (Levent)"
Date:
Subject: JDBC Notify/Listen