httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Luckhurst <>
Subject Re[2]: [users@httpd] Trouble Compiline httpd-2.2.3
Date Mon, 16 Oct 2006 07:40:44 GMT
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?



>> 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/ /usr/local/apache2/lib/
>>>> -lpq -lsqlite3 -lexpat /usr/local/apache2/lib/ -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:> for more info.
KS> To unsubscribe, e-mail:
KS>    "   from the digest:
KS> For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message