Re: php 4.2 postgresql 7.3 help - Mailing list pgsql-general

From Nick Gazaloff
Subject Re: php 4.2 postgresql 7.3 help
Date
Msg-id Pine.LNX.4.44.0302030012480.21603-100000@beta.sbin.org
Whole thread Raw
In response to Re: php 4.2 postgresql 7.3 help  (Doug McNaught <doug@mcnaught.org>)
Responses Re: php 4.2 postgresql 7.3 help  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-general
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)



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: sorting RTL languages.
Next
From: Oliver Elphick
Date:
Subject: Re: php 4.2 postgresql 7.3 help