>[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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to