|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33425 Symbol Referencing Error loading Apache Module __eprintf: referenced symbol not
Submitted: 2005-06-21 20:53 UTC Modified: 2005-06-23 16:34 UTC
From: buddy at southwest dot cc dot nc dot us Assigned:
Status: Closed Package: Apache related
PHP Version: 4.3.11 OS: Solaris 2.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
49 + 43 = ?
Subscribe to this entry?

 [2005-06-21 20:53 UTC] buddy at southwest dot cc dot nc dot us
Compiled apache with SHARED_CORE and php with --enable-libgcc and still get a symbol referencing error:

#./apachectl start
Syntax error on line 237 of /usr/local/apache-1.3.33/conf/httpd.conf:
Cannot load /usr/local/apache-1.3.33/libexec/ into server: /usr/local/apache-1.3.33/bin/httpd: fatal: relocation error: file /usr/local/lib/ symbol __eprintf: referenced symbol not found

Apache configure line:
./configure --enable-shared=max --enable-rule=SHARED_CORE --enable-module=most --prefix=/usr/local/apache-1.3.33

PHP Configure line:
 ./configure --with-apxs=/usr/local/apache-1.3.33/bin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --with-gd --enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets --with-gettext --enable-wddx --with-xmlrpc --enable-exif --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local --with-expat-dir=/usr/local --enable-xslt --with-xslt-sablot=/usr/local/  --with-iconv-dir=/usr/local/ --enable-libgcc

#ldd =>        /usr/local/lib/ =>         /usr/local/lib/ =>         /usr/local/lib/ =>  /usr/local/mysql/lib/mysql/ =>  /lib/ =>   /usr/local/lib/ =>     /lib/ =>         /usr/local/lib/ =>        /lib/ =>     /lib/ =>    /lib/ =>   /lib/ =>        /lib/ =>     /lib/ =>        /usr/local/lib/ =>         /usr/local/lib/ =>    /lib/ =>       /lib/ =>   /lib/ =>    /lib/ =>   /lib/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-21 21:02 UTC] buddy at southwest dot cc dot nc dot us
Forgot to mention, compiling with gcc (GCC) 3.4.2
 [2005-06-22 15:31 UTC] buddy at southwest dot cc dot nc dot us
It works fine without --enable-xslt and 

I may have a Sablotron issue.
 [2005-06-22 17:42 UTC] buddy at southwest dot cc dot nc dot us
OK. I removed the sunfreeware sablotron pkg, and made sure all references to *sab* in /usr/local were gone, remade sablotron from src using --prefix=/usr/local/sablot, (using the sunfreeware expat and iconv in /usr/local) exported 'LDFLAGS=-lstdc++' (not sure if i needed this but *shrug) and then 

./configure --with-apxs=/usr/local/apache-1.3.33/bin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --with-gd --enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets --with-gettext --enable-wddx --with-xmlrpc --enable-exif --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local --with-expat-dir=/usr/local --enable-xslt --with-xslt-sablot=/usr/local/sablot  --with-iconv-dir=/usr/local --enable-libgcc

including the rebuilt sablotron library, and it compiled/loaded fine.  I think this was a sablotron linking issue with the sunfreeware package, not a PHP issue, but I'm not certain.

For future reference, you can use sunfreeware expat and iconv, but I was unable to use sunfreeware libxsl.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 09 09:01:27 2023 UTC