Обсуждение: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])
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
...
... I am really astonished that I could not find anyone else who had this
problem. Am I doing something horridly wrong?
What can I do? I try ./configure'ing PHP, but it tells me:
gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
-lm -lcrypt 1>&5
Shared object "libpq.so.2" not found
Complete debug.log installed.
PLEASE help...
--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
Forgot the debug.log. It is attached. Also, below:
CONFIGURE: './configure' '--with-apache=../apache_1.3.27' '--with-pgsql=/usr/local/pgsql/'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -I/usr/pkg/include
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/pgsql//include
LDFLAGS: -L/usr/pkg/lib -R/usr/local/pgsql//lib -L/usr/local/pgsql//lib
LIBS: -lpq -lcrypt -lm -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/pgsql//lib
uname -a: NetBSD fortitude 1.6 NetBSD 1.6 (fortitude) #0: Tue Dec 31 21:36:31 EST 2002
root@fortitude:/usr/src/sys/arch/macppc/compile/fortitudemacppc
gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib -R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c
-lpq-lcrypt -lm -lcrypt 1>&5
Shared object "libpq.so.2" not found
On Mon, 3 Feb 2003, 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
> ...
>
> ... I am really astonished that I could not find anyone else who had this
> problem. Am I doing something horridly wrong?
>
> What can I do? I try ./configure'ing PHP, but it tells me:
> gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
> -R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
> -lm -lcrypt 1>&5
> Shared object "libpq.so.2" not found
>
> Complete debug.log installed.
>
> PLEASE help...
>
> --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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
--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
Вложения
Jessica, Maybe all you need to do is create a soft link ? Eg. ln -s libpq.so.3 libpq.so.2 Hope this helps Regards Rudi. 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 >... > >... I am really astonished that I could not find anyone else who had this >problem. Am I doing something horridly wrong? > >What can I do? I try ./configure'ing PHP, but it tells me: >gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib >-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt >-lm -lcrypt 1>&5 >Shared object "libpq.so.2" not found > >Complete debug.log installed. > >PLEASE help... > > --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 > > > >---------------------------(end of broadcast)--------------------------- >TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > > >
I considered that, but I am afraid to do it. What if libpq.so.3 and
libpq.so.2 are not compatible?
On Tue, 4 Feb 2003, Rudi Starcevic wrote:
> Jessica,
>
> Maybe all you need to do is create a soft link ?
>
> Eg. ln -s libpq.so.3 libpq.so.2
>
> Hope this helps
> Regards
> Rudi.
>
> 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
> >...
> >
> >... I am really astonished that I could not find anyone else who had this
> >problem. Am I doing something horridly wrong?
> >
> >What can I do? I try ./configure'ing PHP, but it tells me:
> >gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
> >-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
> >-lm -lcrypt 1>&5
> >Shared object "libpq.so.2" not found
> >
> >Complete debug.log installed.
> >
> >PLEASE help...
> >
> > --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
> >
> >
> >
> >---------------------------(end of broadcast)---------------------------
> >TIP 2: you can get off all lists at once with the unregister command
> > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >
> >
> >
>
>
>
>
--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
Jessica, I think they will be compatible. It won't hurt to try. It there is a problem just remove the link you created and try something else. Regards Rudi. Jessica Blank wrote: >I considered that, but I am afraid to do it. What if libpq.so.3 and >libpq.so.2 are not compatible? > >On Tue, 4 Feb 2003, Rudi Starcevic wrote: > > > >>Jessica, >> >>Maybe all you need to do is create a soft link ? >> >>Eg. ln -s libpq.so.3 libpq.so.2 >> >>Hope this helps >>Regards >>Rudi. >> >>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 >>>... >>> >>>... I am really astonished that I could not find anyone else who had this >>>problem. Am I doing something horridly wrong? >>> >>>What can I do? I try ./configure'ing PHP, but it tells me: >>>gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib >>>-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt >>>-lm -lcrypt 1>&5 >>>Shared object "libpq.so.2" not found >>> >>>Complete debug.log installed. >>> >>>PLEASE help... >>> >>> --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 >>> >>> >>> >>>---------------------------(end of broadcast)--------------------------- >>>TIP 2: you can get off all lists at once with the unregister command >>> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >>> >>> >>> >>> >>> >> >> >> >> > > > --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 > > > >
On Tue, 4 Feb 2003, Rudi Starcevic wrote:
> Jessica,
>
> I think they will be compatible.
> It won't hurt to try.
>
> It there is a problem just remove the link you created and try something
> else.
I don't know what else I COULD try... besides compiling 7.3.0 and
installing ITS libpq.so.2 as well as 7.3.1's libpq.so.3 .... a real
"Band-aid" solution.
>
> Regards
> Rudi.
>
>
> Jessica Blank wrote:
>
> >I considered that, but I am afraid to do it. What if libpq.so.3 and
> >libpq.so.2 are not compatible?
> >
> >On Tue, 4 Feb 2003, Rudi Starcevic wrote:
> >
> >
> >
> >>Jessica,
> >>
> >>Maybe all you need to do is create a soft link ?
> >>
> >>Eg. ln -s libpq.so.3 libpq.so.2
> >>
> >>Hope this helps
> >>Regards
> >>Rudi.
> >>
> >>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
> >>>...
> >>>
> >>>... I am really astonished that I could not find anyone else who had this
> >>>problem. Am I doing something horridly wrong?
> >>>
> >>>What can I do? I try ./configure'ing PHP, but it tells me:
> >>>gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
> >>>-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
> >>>-lm -lcrypt 1>&5
> >>>Shared object "libpq.so.2" not found
> >>>
> >>>Complete debug.log installed.
> >>>
> >>>PLEASE help...
> >>>
> >>> --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
> >>>
> >>>
> >>>
> >>>---------------------------(end of broadcast)---------------------------
> >>>TIP 2: you can get off all lists at once with the unregister command
> >>> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >
> >
> > --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
> >
> >
> >
> >
>
>
>
>
--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
On Mar 04 Feb 2003 00:38, Rudi Starcevic wrote:
> Jessica,
>
> Maybe all you need to do is create a soft link ?
>
> Eg. ln -s libpq.so.3 libpq.so.2
This will not work. libpq changed (that's why there's a change in the version
too). Recompile PHP, as was told in the announcemente of PostgreSQL-7.3
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
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