[xml] Lenny Linkinf Issue



Hi

I want to use the latest release of libxml2 i.e 2.7.7 for the code since it uses certain functions like xmlFirstElementChild etc which are not available in lesser versions.

I am on debian lenny which is by default apt-getting version 2.6.32

I have installed the 2.7.7 version manually and it placed all the related files in /usr/local/include and /usr/local/lib folders.

however,

g++ -I /usr/local/include/libxml2 -L /usr/local/lib -lxml2 .........................................

still fetches libxml2.so etc from the standard path /usr/lib as first priority and I get runtime errors due to missing functions. (Although it compiles fine)

can I make it point to the /usr/local/lib anyhow or can lenny be instructed to install 2.7.7.

Thanks
S


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