On 2 Feb 2003, Doug McNaught wrote:
> Randall Smith <netmail@tnr.cc> writes:
>
> > I'm using the redhat 8 php 4.2.2 installation and postgresql 7.3.1 rpm
> > from here:
> > ftp://ftp10.us.postgresql.org/pub/postgresql/binary/v7.3.1/RPMS/redhat-8.0
> >
> > After upgrading to postgresql 7.3, my php-postgresql (pgsql.so)
> > extension will not load. This is the error in my apache error log:
> >
> > 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
>
> You'll need to recompile PHP against the 7.3 headers and libraries.
No, it's possible to create a link like this:
cd $PGHOME/lib
ln -s libpq.so.3 libpq.so.2
ldconfig
--
Best regards,
Nick
(GPG Key ID: 4396B2D0, fingerprint: 648E C3FE ACF6 A730 FF52 D717 776D 1CB0 4396 B2D0)