Thread: libpq.so.2.1 needed by php-pgsql-4.0.1pl2-9
Hi,
I am running Redhat 7.0 with PHP 4.0.1pl2. I currently installed PostgreSQL 7.1beta, but now when trying to enable Postgres access to PHP (package php-pgsql-4.0.1pl2-9) I get the following error:
[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
error: failed dependencies:
libpq.so.2.1 is needed by php-pgsql-4.0.1pl2-9
What are my options?
1) Force installation with rpm --nodeps option?
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
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
3) Some other tips?
Thank you in advance,
Paulo