Re: En: [GENERAL] libpq.so.2.1 needed by php-pgsql-4.0.1pl2-9
| From: | Joe Conway | Date: | Sat, 03 Mar 2001 00:47:04 +0000 |
| Subject: | Re: En: [GENERAL] libpq.so.2.1 needed by php-pgsql-4.0.1pl2-9 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42413@lists.php.net to get a copy of this message | ||
>[root@atlas PostgreSQL]# rpm -ivh php-pgsql-4.0.1pl2-9.i386.rpm
>error: failed dependencies:
> libpq.so.2.1 is needed by php-pgsql-4.0.1pl2-9
<snip>
>2) Create some symlink? Currently I have at /usr/lib the following files:
>lrwxrwxrwx 1 root root 12 Mar 1 11:17 libpq.so ->
libpq.so.2.1
>lrwxrwxrwx 1 root root 12 Mar 1 11:07 libpq.so.2 ->
libpq.so.2.1
>lrwxrwxrwx 1 root root 12 Mar 1 11:17 libpq.so.2.0 ->
libpq.so.2.1
>-rwxr-xr-x 1 root root 70311 Jan 29 05:19 libpq.so.2.1
It looks from the above that libpq.so.2.1 is in /usr/lib.
Try adding this line to /etc/ld.so.conf:
/usr/lib
and the run "ldconfig".
Hope this helps,
Joe