php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25251 starting apache after compile with postgres fails!
Submitted: 2003-08-26 07:06 UTC Modified: 2003-09-02 18:15 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: necmon at gmx dot de Assigned:
Status: No Feedback Package: PostgreSQL related
PHP Version: 4.3.3 OS: Suse Linux 7.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: necmon at gmx dot de
New email:
PHP Version: OS:

 

 [2003-08-26 07:06 UTC] necmon at gmx dot de
Description:
------------
my configure line:

'./configure'  '--bindir=/usr/bin' '--libdir=/usr/lib' '--with-config-file-path=/etc' '--with-exec-dir=%{libdir}/php/bin' '--with-gd=yes' '--with-tiff-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'  '--with-pdflib=/usr' '--with-ldap=yes' '--with-zlib=yes' '--with-bz2' '--with-ttf' '--with-xml=no' '--with-t1lib' '--with-sablot' '--with-readline' '--with-ftp' '--with-ndbm' '--with-gdbm' '--with-mcrypt' '--with-gettext' '--with-mm' '--with-gd=yes' '--enable-versioning' '--enable-yp' '--enable-bcmath' '--enable-trans-sid' '--enable-inline-optimization' '--enable-track-vars' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-shmop' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-memory-limit' '--enable-filepro' '--enable-dbase' '--enable-ctype' '--disable-debug' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-sigchild' '--enable-gd-imgstrttf' '--with-openssl' '--with-apxs=/usr/sbin/apxs' 'i386-suse-linux' '--with-pgsql=/usr/local/pgsql'

The given error message when i tried to start apache:

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

Other:

same config-line WITHOUT pgsql works perfectly.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-26 08:27 UTC] necmon_ at gmx dot de
[forgot my password, uhm, and i don't receive an email with it...]

I'm using postgresql 7.3.4 - I'm using always the latest stable version, that's why I was recompiling php.
 [2003-08-26 10:28 UTC] edink@php.net
You probably have mix of different postgres version on your system. Try locating libpq.so or libpq.a and make sure you only have one version of those libs installed.
 [2003-08-26 16:28 UTC] necmon_ at gmx dot de
OK, i tried.
Both files are only ONCE on my system. 

I tried the SAME config-line with php-4.3.2 this afternoon and it works. I did not change anything with postgres or something. I just deinstalled php-4.3.3 and installed php-4.3.2. After another try (removing php-4.3.2 and installing php-4.3.3 afterwards), it did NOT work again.
 [2003-08-28 06:43 UTC] sniper@php.net
What does this output:

# ldd /usr/lib/apache/libphp4.so 


 [2003-08-28 06:44 UTC] sniper@php.net
That of course for the 4.3.3 version of PHP..

 [2003-08-28 06:47 UTC] necmon_ at gmx dot de
Sorry, i had to manage other thins for a while. being back i did your command on my shell:

root>ldd /usr/lib/apache/libphp4.so 

        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40233000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40262000)
        libmm.so.11 => /usr/lib/libmm.so.11 (0x40278000)
        libhistory.so.4 => /usr/local/lib/libhistory.so.4 (0x4027d000)
        libreadline.so.4 => /usr/local/lib/libreadline.so.4 (0x40284000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x402af000)
        libpq.so.2.1 => /usr/lib/libpq.so.2.1 (0x402f9000)
        libpdf.so.0 => /usr/lib/libpdf.so.0 (0x40308000)
        libz.so.1 => /lib/libz.so.1 (0x40333000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40343000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40387000)
        libmcrypt.so.4 => /usr/local/lib/libmcrypt.so.4 (0x403b9000)
        libltdl.so.0 => /usr/lib/libltdl.so.0 (0x403bf000)
        libt1.so.1 => /usr/local/lib/libt1.so.1 (0x403c4000)
        libttf.so.2 => /usr/lib/libttf.so.2 (0x4040b000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4042e000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x4044d000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x40454000)
        libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x40464000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40491000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40552000)
        libm.so.6 => /lib/libm.so.6 (0x40564000)
        libdl.so.2 => /lib/libdl.so.2 (0x40583000)
        libc.so.6 => /lib/libc.so.6 (0x40587000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
 [2003-08-28 10:01 UTC] sniper@php.net
Then try this:

# nm /usr/lib/libpq.so.2.1 | grep PQescapeBytea

 [2003-09-02 18:15 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 09:01:29 2024 UTC