Обсуждение: Re: [GENERAL] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due

Поиск
Список
Период
Сортировка

Re: [GENERAL] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due

От
Jessica Blank
Дата:
I am using NetBSD 1.6 on a PowerMac. ;)

And I did compile PHP -after- Postgres. :/

On Mon, 3 Feb 2003, Lamar Owen wrote:

> On Monday 03 February 2003 22:12, Jessica Blank wrote:
> > The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
> > expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
> > ...
>
> Recompile PHP, and it will work.  If you got it as an RPM, get the source
> (src.rpm) RPM and issue a 'rpmbuild --rebuild php....src.rpm' (substitute the
> version and other information for the dots above...).
> --
> Lamar Owen
> WGCR Internet Radio
> 1 Peter 4:11
>
>


                            --Jessica

      --
      Jessica L. Blank, Systems Administrator & Programmer

      www.starchefs.com
      9 East 19th St., 9th Floor  /  New York, NY 10003
      Jessica@StarChefs.com - (973) 485-0684
      Pager (917) 675-6618


      Help Wanted. Help Found.
      www.helpwantedhelpfound.com, a division of StarChefs



Re: [GENERAL] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])

От
Lamar Owen
Дата:
On Monday 03 February 2003 22:59, Jessica Blank wrote:
> I am using NetBSD 1.6 on a PowerMac. ;)
>
> And I did compile PHP -after- Postgres. :/

Are you sure it picked up the right headers?  Is there an older PostgreSQL on
the system?  Are you absolutely sure that you compiled PHP against PostgreSQL
7.3.1?  The fact is that others aren't able to reproduce the problem; further
it is a known fact that prior to 7.3.1 the right version was .2, but at 7.3.1
the version number was bumped to .3.  So at some point in your PHP build the
linker linked against the development headers/libs for .2 instead of .3.
Something is telling the PHP build to look for the older version.

As no one else can reproduce it, it must be something unique to your
installation, at some point.

Do a 'find / -name 'libpq*' -print' and see if libpq-fe.h shows up in more
than one place.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11