Hi
I try to compile some code and I have this output:
/usr/bin/grep: /usr/lib64/libxml2.la: No such file or directory
/usr/bin/sed: can't read /usr/lib64/libxml2.la: No such file or directory
libtool: link: `/usr/lib64/libxml2.la' is not a valid libtool archive
and can't understand where is my mistake why the execution of "Makefile" try to search *.la library files.
compilation libxml2.la error
Re: compilation libxml2.la error
Your library tool chain is broken. For whatever reason the code you're trying to compile is looking for a static library named libxml2.la and it's expecting it in /usr/lib64/. I guess it's not there. Perhaps you needed something like --enable-shared on your configure script (well that depends on the code you're trying to compile).
CentOS does not provide a static library (they're SO 1990s) in libxml-statiuc, it's an archive (.a). What are you trying to compile and can you switch on shared libraries?
CentOS does not provide a static library (they're SO 1990s) in libxml-statiuc, it's an archive (.a). What are you trying to compile and can you switch on shared libraries?
Re: compilation libxml2.la error
"*.la" means libtool archive. These are short text files that serve a purpose similar to pkg-config files. They are normally not included in any package.
Re: compilation libxml2.la error
aks,
I'm use one software platform, in which I can add another program modules, and to add some module to this platform I need to compile them with tools from this platform.
Thank's I will try to find the code which is responsible for compiling and add this option.
Can I download this 'libtool' archive from somewhere?
I'm use one software platform, in which I can add another program modules, and to add some module to this platform I need to compile them with tools from this platform.
Thank's I will try to find the code which is responsible for compiling and add this option.
Can I download this 'libtool' archive from somewhere?
Re: compilation libxml2.la error
Probably not a good idea - downloading a random library could make things worse. As for libtools itself, it can be installed via YUM.