Problem with multiple libxml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I'm trying to compile PHP 5.3.3 on a linux system.
I need to compile with libxml and libxslt support.
The libraries I want to use are located under /usr/local/libxml2
To achieve my goal I run configure with :
--with-mcrypt After that, I make, and make install, and apache runs fine with php.
I already have older versions of libxml and libxslt located under /usr/local
When looking at the results of phpinfo(), I can see that those libraries
have been linked to, instead of the newer ones located in
The problem seems to arise somewhere within libtool which is called by the
Makefile, and generates a linker invocation which explicitly references the
old libraries with erroneous full path names
(, and :
gcc -shared  ext/date/.libs/php_date.o
... lots of .o files ...
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
-Wl,--rpath -Wl,/usr/lib/mysql -Wl,--rpath -Wl,/usr/local/libxml2/lib
-L/usr/local/lib -L/usr/lib/mysql -L/usr/local/libxml2/lib
-lcrypt /usr/local/lib/
... lots of other sometimes redundant libraries ...
... -Wl,-soname -Wl, -o .libs/ Is there any wizard out there to give me a hint how I could fix that ?
Best Regards,

[PHP Home]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [Why pay for online dating?]     [PHP Users]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]     [PHP Books]

  Powered by Linux