Backeyes Posted January 19, 2009 Share Posted January 19, 2009 Hi! I got this error : "libtool: link: `ext/libxml/libxml.lo' is not a valid libtool object" Can someone give me some help ? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/ Share on other sites More sharing options...
corbin Posted January 19, 2009 Share Posted January 19, 2009 Looks like it's either not finding the lib or it's not valid. Error is pretty self explanatory x.x. Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-740533 Share on other sites More sharing options...
Backeyes Posted January 19, 2009 Author Share Posted January 19, 2009 Yeah but is there any way that I could fix this ? I've just installed libxml ... Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-740535 Share on other sites More sharing options...
corbin Posted January 19, 2009 Share Posted January 19, 2009 What cmd are you running that gives yo uthat error first off. Second, make sure that path actually exists. Also, make sure what ever binary is trying to access it is in the folder above ext. If not, you'll need to change the path (unless of course it looks for things relative to a different path than where it currently is). Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-740539 Share on other sites More sharing options...
Backeyes Posted January 19, 2009 Author Share Posted January 19, 2009 Ok! In my /ext/libxml/ : [root@localhost libxml]# ls config0.m4 config.w32 CREDITS libxml.c libxml.lo php_libxml2.def php_libxml.h tests And I ran this command : "./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql" and after the "make". This error is when I used make. Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-740543 Share on other sites More sharing options...
corbin Posted January 20, 2009 Share Posted January 20, 2009 Oh..... The linker when compiling can't find it. That's odd..... I wonder why it's using a relative path. Try modding the file that the linker is reading off of to use an absolute path. Or, just copy the file to a subdirectory. (You did mean /ext and not ext, right?) Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-740832 Share on other sites More sharing options...
Backeyes Posted January 20, 2009 Author Share Posted January 20, 2009 Oh sorry I meant ext/libxml ... Forget that /. Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-741110 Share on other sites More sharing options...
corbin Posted January 21, 2009 Share Posted January 21, 2009 The only error you get is the one from before? Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-741781 Share on other sites More sharing options...
Backeyes Posted January 21, 2009 Author Share Posted January 21, 2009 Yes! Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-742093 Share on other sites More sharing options...
corbin Posted January 21, 2009 Share Posted January 21, 2009 Happen to be using libtool 1.5? Quickly googled, and http://forums.fedoraforum.org/archive/index.php/t-11457.html says libtool 1.5 doesn't work with PHP. That's from 04 though, so I doubt that would still be a problem. Hrmmm.... Can you attach the entire output of the compiling? Quote Link to comment https://forums.phpfreaks.com/topic/141475-error-libtool-extlibxmllibxmllo/#findComment-742687 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.