php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30366 xmlRelaxNGCleanupTypes: referenced symbol not found
Submitted: 2004-10-08 17:11 UTC Modified: 2004-10-12 08:26 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dwaite at sun dot com Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 5.0.2 OS: Solaris 9 112233-12
Private report: No CVE-ID: None
 [2004-10-08 17:11 UTC] dwaite at sun dot com
Description:
------------
I am running Solaris 9 112233-12 with dedault Apache. I have configured and compiled PHP 5.0.2 with the following with no errors.

configure --with-mysql=/usr/local/mysql --with-apxs=/usr/apache/bin/apxs --with-zlib --enable-bcmath --enable-calendar --enable-dbase --enable-exif --enable-ftp --with-jpeg --with-png --with-tiff --with-gd --with-ttf --enable-gd-native-ttf --with-gettext --with-iconv --enable-mbstring=shared --enable-shmop --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-memory-limit

Reproduce code:
---------------
httpd starting.
Syntax error on line 249 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: relocation error: file /usr/apache/libexec/libphp5.so: symbol xmlRelaxNGCleanupTypes: referenced symbol not found
/usr/apache/bin/apachectl start: httpd could not be started

It appears as though there is an libxml or libxml2 undefined symbol. Any Idea why this is happening.

Thanks,

Dave



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-08 17:22 UTC] chregu@php.net
which libxml2 version are you using? Does this also happen with a recent one?
 [2004-10-08 17:35 UTC] dwaite at sun dot com
This is the verson, libxml2-2.6.8 which I believe is the lates. An interesting note that if I configure with only --with-mysql=/usr/local/mysql --with-apxs=/usr/apache/bin/apxs I get a make install failure that is similar.

Dave
 [2004-10-08 23:34 UTC] ranglin at jamdung dot com
I am having same issues:
Sol 9, php 5.0x, apache 205. libxml2-2.6.4

Cannot load /usr/local/apache/modules/libphp5.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/modules/libphp5.so: symbol xmlRelaxNGCleanupTypes: referenced symbol not found
 [2004-10-09 10:51 UTC] chregu@php.net
Can you please check, if RelaxNG support is enabled in your libxml2? 

You can check this, if you do "xmllint --help" and see, if there's a relaxng option.

Furthermore make sure, you don't have old libxml2 versions lying around elsewhere, which are maybe taken by php.


 [2004-10-11 08:26 UTC] chregu@php.net
Recategorize (still not sure, if it's a PHP problem, but if it's one, then it's dom/libxml2 related)
 [2004-10-11 16:18 UTC] dwaite at sun dot com
After  going in and removing any previous versions of libxml2 Apache will start without an error.

Maybe it should be noted in the PHP docs even though this is not realy PHP related that only one version of libxml2 can exist so delete all others.

Thanks,

Dave
 [2004-10-12 08:26 UTC] derick@php.net
I don't think we should write this down in the documentation, it's basic Unix maintenance. No bug here -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 00:01:32 2024 UTC