Re: Compiling PHP with pgsql
| From: | Joe Conway | Date: | Tue, 03 Jul 2001 17:06:30 +0000 |
| Subject: | Re: Compiling PHP with pgsql | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56019@lists.php.net to get a copy of this message | ||
> But after make and make install Apache is not restarting saying
> that it cannot find libpq.so.2
>
> So I copied the libpq.so.2 from /usr/local/pgre/lib/ to
Try:
Add the line
/usr/local/pgre/lib/
to
/etc/ld.so.conf
and then run
ldconfig
-- or --
set the following environment variable
export LD_LIBRARY_PATH=/usr/local/pgre/lib/
Hope this helps,
Joe