|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-08 18:13 UTC] quanah at zimbra dot com
[2010-01-08 18:17 UTC] quanah at zimbra dot com
[2010-01-09 18:45 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 11:00:02 2026 UTC |
Description: ------------ I build PHP against my own build of libxml2. However, starting with PHP 5.2.12, it now links against the system xml2 in addition to my xml2, causing symbol failures: # Libraries that this one depends upon. dependency_libs=' -lcrypt -lcrypt -lrt -lrt -lm -lz -lm -lz -lm -lz -lm -lcrypt -lz -lm -lz -lm -lz -lm -lcrypt -L/usr/lib -L/opt/zimbra/libxml2-2.6.32.1/lib -L/opt/zimbra/aspell-0.60.6/lib -lcrypt -lcrypt /opt/zimbra/aspell-0.60.6/lib/libpspell.la /opt/zimbra/aspell-0.60.6/lib/libaspell.la -lrt -lrt -lresolv -lm -ldl -lnsl -lz -lm -lz -lm -lz -lm -lcrypt -lz -lm -lz -lm /usr/lib/libxml2.la -lpthread -lz -lm -lz -lm -lcrypt' [build@build01 .libs]$ ldd libphp5.so <snip> libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00157000) </snip> Note my libxml2 is a static library. Reproduce code: --------------- Configure against a custom libxml2 build: ./configure --with-libxml-dir=/opt/zimbra/libxml2-2.6.32.1 Expected result: ---------------- Only my libxml2 is used Actual result: -------------- System xml2 is linked in