i just upgraded my postgresql install to version 7.2.1 (it was an rpm install, which i removed and compiled the latest version from source), restarted apache and found it wouldn't start because it couldn't load the php module. so i thought i needed to recompile php (version 4.1.1) using the new postgresql location.
so i did:
./configure --with-pgsql-/usr/local/pgsql etc etc
when i start apache i get:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libpq.so.2.1: cannot open shared object file: No such file or directory
so i checked and there is no libpq.so.2.1 in the pgsql lib directory.
so i tried doing a symbolic link:
ln -s libpq.so.2.2 libpq.so.2.1
and now when i try and start apache i get:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: pg_encoding_to_char
i'm not really sure what to try next?
thanks,
tamsin