On Thu, 11 Sep 2003, Richard Welty wrote: > ok, i'm confused. > > i have two systems. one is redhat 7.1 (a server in colo, reasonably > current), the other is 8.0 (my laptop). the server in colo is running > postgresql 7.3.2 along with redhat's updated versions of apache and php for > 7.1 (the php version is 4.1.2) on this server, php can access postgres > without difficulty. > > my laptop is also running 7.3.2 along with the apache and php that go with > RH 8.0. i found a need to bring up apache so i could test some php against > postgresql, and was suprised to find that is failing (it'd been a while > since i'd run the web server on this system). reviewing > /var/log/httpd/error_log showed the following: > > [Thu Sep 11 16:17:25 2003] [notice] caught SIGTERM, shutting down > PHP Warning: Unable to load dynamic library '/usr/lib/php4/pgsql.so' > - libpq.so.2: cannot open shared object file: No such file or directory > in Unknown on line 0 > > this seems to clearly be a library versioning problem, as > "ls -l /usr/lib/libpq*" gives me > > -rw-r--r-- 1 root root 113800 Feb 5 2003 /usr/lib/libpq.a > lrwxrwxrwx 1 root root 12 Jun 26 14:19 /usr/lib/libpq.so -> libpq.so.3.0 > lrwxrwxrwx 1 root root 12 Aug 1 08:09 /usr/lib/libpq.so.3 -> libpq.so.3.0 > -rwxr-xr-x 1 root root 552967 Jul 28 18:30 /usr/lib/libpq.so.3.0 > [EMAIL PROTECTED] lib]#
Well not quite. The complaint is that the PHP interface to PostgreSQL isn't found. As for why it can't be found I can't really help. Could be PHP configure/build, could be it wasn't installed. A little surprising perhaps but then I know next to nothing about Redhat installations. -- Nigel J. Andrews ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html