LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't find installed libxml2 during ./configure (https://www.linuxquestions.org/questions/linux-software-2/cant-find-installed-libxml2-during-configure-95860/)

progressdll 09-23-2003 09:36 AM

can't find installed libxml2 during ./configure
 
I installed libxml2 library from source and it installed itself in
/usr/local/lib

i added /usr/local/lib to ld.so.conf and ran a ldconfig ( as root )

then i tried to compile tablix-0.0.3 wich does require the installed version
of libxml2

i ran ./configure ( as normal user ) and i get the following error

checking for xml2-config... (cached) no
checking for libxml - version >= 2.4.3... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.

so nothing of the new library is found. What can i try next?

jpbarto 09-23-2003 09:51 AM

did xml2-config get installed? If so (probably in /usr/local/bin) then is /usr/local/bin in your path? If yes and the configure script STILL can't see it is there an option you can pass to the configure script to specify where libxml2 is?
execute './configure --help' to get a list of options.

If no then feel free to edit the configure script, find the check for libxml2 and either point it directly to xml2-config or remove the check all together. (note that taking this route will probably also mean tweaking the check for libxml2).

hth,
jpbarto

DrOzz 09-23-2003 09:52 AM

either a) double check that the version that you did install is greater than or equal to the version 2.4.3 or check out the arguments that can be passed in the ./configure script and see if specifying where libxml is, or if there isn't an argument that is able to be passed you can open up the configure file in a text editor and find the section where it is looking for limxml and edit it to point to where you have it installed....that is under the circumstance that the version you installed is like i said earlier greater than or equal to (>=) version 2.4.3..


All times are GMT -5. The time now is 01:11 AM.