From: | Nick Gazaloff <nick(at)sbin(dot)org> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: php 4.2 postgresql 7.3 help |
Date: | 2003-02-02 21:15:43 |
Message-ID: | Pine.LNX.4.44.0302030012480.21603-100000@beta.sbin.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2 Feb 2003, Doug McNaught wrote:
> Randall Smith <netmail(at)tnr(dot)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)
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Elphick | 2003-02-02 21:41:07 | Re: php 4.2 postgresql 7.3 help |
Previous Message | Tom Lane | 2003-02-02 21:08:40 | Re: sorting RTL languages. |