LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2003, 09:36 AM   #1
progressdll
LQ Newbie
 
Registered: Sep 2003
Location: Belgium
Distribution: RH 6.1 / xandros
Posts: 5

Rep: Reputation: 0
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?
 
Old 09-23-2003, 09:51 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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
 
Old 09-23-2003, 09:52 AM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 5 cannot find xml2-config for libxml2 support ridertech Linux - Software 21 02-08-2013 09:00 PM
libxml2 source: configure file missing logicalfuzz Linux - Software 4 11-30-2005 11:46 AM
making ./configure find installed software poiuytrewq Linux - Software 16 05-15-2005 01:11 AM
lib that is installed but ./configure can't find mandrakemikael Linux - Newbie 3 09-01-2004 03:31 PM
GTK installed, yet ./configure can't find it Micro420 Mandriva 12 08-13-2004 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration