Skip site navigation (1) Skip section navigation (2)

trouble with mod_auth_pgsql

From: cliff(at)cliffmeyers(dot)com
To: pgsql-interfaces(at)postgresql(dot)org
Subject: trouble with mod_auth_pgsql
Date: 2003-05-21 04:14:31
Message-ID: 20030520211432.10782.h014.c001.wm@mail.cliffmeyers.com.criticalpath.net (view raw or flat)
Thread:
Lists: 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!

Responses

pgsql-interfaces by date

Next:From: cliffDate: 2003-05-21 14:11:52
Subject: Re: trouble with mod_auth_pgsql
Previous:From: Antonio GiráldezDate: 2003-05-20 18:37:24
Subject: unsubscribe

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group