trouble with mod_auth_pgsql

Поиск
Список
Период
Сортировка
От cliff@cliffmeyers.com
Тема trouble with mod_auth_pgsql
Дата
Msg-id 20030520211432.10782.h014.c001.wm@mail.cliffmeyers.com.criticalpath.net
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Johann Thoyer"
Дата:
Сообщение: pg_connect
Следующее
От: "Sasmazel, Levent (Levent)"
Дата:
Сообщение: JDBC Notify/Listen