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

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

am 04.02.2003 04:12:11 von Jessica Blank

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)

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to

am 04.02.2003 04:13:55 von Jessica Blank

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-641078858-1044328435=:14859
Content-Type: TEXT/PLAIN; charset=US-ASCII

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/fortitude macppc

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


---559023410-641078858-1044328435=:14859
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="debug.log"
Content-Transfer-Encoding: BASE64
Content-ID:
Content-Description:
Content-Disposition: attachment; filename="debug.log"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IiIG5vdCBmb3VuZA0K

---559023410-641078858-1044328435=:14859
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

---559023410-641078858-1044328435=:14859--

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to

am 04.02.2003 04:38:33 von Rudi Starcevic

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)
>
>
>




---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to

am 04.02.2003 04:49:08 von Jessica Blank

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



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

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

am 04.02.2003 04:57:21 von Lamar Owen

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=
=20
(src.rpm) RPM and issue a 'rpmbuild --rebuild php....src.rpm' (substitute t=
he=20
version and other information for the dots above...).
--=20
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due

am 04.02.2003 04:59:18 von 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



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

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

am 04.02.2003 05:05:42 von 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=20
the system? Are you absolutely sure that you compiled PHP against PostgreS=
QL=20
7.3.1? The fact is that others aren't able to reproduce the problem; furth=
er=20
it is a known fact that prior to 7.3.1 the right version was .2, but at 7.3=
..1=20
the version number was bumped to .3. So at some point in your PHP build th=
e=20
linker linked against the development headers/libs for .2 instead of .3.=20=
=20
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=20
installation, at some point.

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


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html