Hi Kenneth, Thanks for the information. Just for my own knowledge can I ask you what is considered to be the "normal" location for the pgsql includes and libraries? Regards Richard >> KS> [ Richard Luckhurst ] >>>> Hi >>>> >>>> I am trying to complie httpd-2.2.3 on a Fedora 5 Linix box and I am getting >>>> errors. Below are is the error and the compiler output at the point the failure >>>> occurs. >>>> >>>> /usr/local/apache2/build/libtool --silent --mode=link gcc -g -O2 -pthread >>>> -L/usr/local/lib -o htpasswd htpasswd.lo >>>> -lm /usr/local/pkg/httpd-2.2.3/srclib/pcre/libpcre.la /usr/local/apache2/lib/libaprutil-1.la >>>> -lpq -lsqlite3 -lexpat /usr/local/apache2/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl >>>> /usr/bin/ld: cannot find -lpq >>>> collect2: ld returned 1 exit status >>>> make[2]: *** [htpasswd] Error 1 >>>> make[2]: Leaving directory `/usr/local/pkg/httpd-2.2.3/support' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory `/usr/local/pkg/httpd-2.2.3/support' >>>> make: *** [all-recursive] Error 1 >>>> >>>> I have compile this OK on a few other Fedora boxes without problems >>>> and this has me stumped. Has anyone seen this error before? >> >> KS> Make sure you have the PostgreSQL-libraries installed correctly. >> >> KS> Rgds, >> KS> Kenneth Svee KS> [ Richard Luckhurst ] >> I have just recompiled and reinstalled Postgresql from source. I >> tried compileing apache again and I am still getting the same error. KS> If your Postgresql-libraries are installed in a non-default directory KS> you might have to Apaches configure script to your pgsql-installation, KS> e.g.: KS> CPPFLAGS="-I/path/to/pgsql/include" \ KS> LDFLAGS='-L/path/to/pgsql/lib -Wl,-rpath,/path/to/pgsql/lib' \ KS> ./configure [...] KS> Rgds, KS> Kenneth Svee KS> --------------------------------------------------------------------- KS> The official User-To-User support forum of the Apache HTTP Server Project. KS> See <URL:http://httpd.apache.org/userslist.html> for more info. KS> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx KS> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx KS> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx