Re: compiling PHP4+Postgre
| From: | (Philip Hallstrom) | Date: | Tue, 27 Jun 2000 23:16:24 +0000 |
| Subject: | Re: compiling PHP4+Postgre | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3473@lists.php.net to get a copy of this message | ||
I could be wrong, but I think you'll need to add
/usr/local/pgsql/lib to your library search path using ldconfig (man
ldconfig for more info) so that Apache knows where to find libpq.so.2.1
In article <am.php.general.962143749.96444@illiad.adhesivemedia.com>,
<guli@atlas.cz> wrote:
>I have tried to compile php4.0.0 on Debian GNU 2.1
>but apache returns this message:
>Syntax error on line 227 of /usr/local/apache/conf/httpd.conf:
>Cannot load /usr/local/apache/libexec/libphp4.so into server: libpq.so.2.1:
>cannot open shared object file: No such file or directory
>here is my compiling configuration "config.sh"
>#!/bin/sh
>/configure
>--with-apxs=/usr/local/apache/bin/apxs
>--with-mysql
>--with-pgsql=/usr/local/pgsql
>--disable-debug
>--with-dbm
>--with-gdbm
>--enable-trans-sid
>--enable-ftp
>--enable-calendar
>i have pgsql in /usr/local/pgsql
>the library 'libpq.so.2.1' is in dir /usr/local/pgsql/lib
>i have tried to compile it only with '--with-pgsql', but it returns the same
>message
>any ideas how to correct it, is it some bug ?
>Thanx Guli