php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5826 undefined symbol: PQsetClientEncoding
Submitted: 2000-07-28 02:15 UTC Modified: 2000-07-29 06:25 UTC
From: mrobinso@php.net Assigned: jah (profile)
Status: Closed Package: Installation problem
PHP Version: 4.0 Latest CVS (28/07/2000) OS: RHL6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mrobinso@php.net
New email:
PHP Version: OS:

 

 [2000-07-28 02:15 UTC] mrobinso@php.net
After configuring with:

./configure --disable-inline --disable-debug
--with-apxs=/usr/sbin/apxs --with-msql=/usr/local/Hughes
--with-pgsql=/usr/include/pgsql --enable-ftp --with-zlib
--with-xml --with-mysql --with-mcrypt=/usr/local/lib
--with-mcal=/usr/src/libmcal --with-imap=/usr/include/imap
--with-swf=/usr/local/lib --with-interbase=/usr/interbase
--with-ldap=/usr --enable-wddx --enable-sysvsem
--enable-sysvshm --with-jpeg-dir=/usr/local

and then make, make install, all going smoothly, starting
apache I got this:

Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so:
undefined symbol: PQsetClientEncoding

Using postgresql 6.5.3 installed from rpm.
First time I've seen this. Works fine with
4.0.1pl2.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-28 10:54 UTC] waldschrott@php.net
bug 5394 possibly related
 [2000-07-28 18:49 UTC] mrobinso@php.net
Note: I upgraded postgres from 6.5.3 to 7.0.2, from
rpms downloaded from the postgres site, and this issue
went away completely.

During configure, php checks whether to include pgsql
support, and if yes, goes on to check 3 other things,
the last one a check for 'pg_encoding' or something
similar to that. After upgrading to 7.0.2, this check
succeeded. With 6.5.3, I'm sure it failed.


 [2000-07-28 20:00 UTC] waldschrott@php.net
That?s fine
 [2000-07-29 03:07 UTC] jah@php.net
Sorry, reopening. There is still something wrong that I need to fix. This problem
shouldn't have occurred in the first place and, although I personally would say
that the user upgrading to 7.0.2 is the best fix he could apply :), it doesn't remove
the original problem :(
 [2000-07-29 06:25 UTC] jah@php.net
Ok, this is really fixed now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 12:01:27 2024 UTC