[Monetdb-developers] libxml linking error during compilation, Mar2011 (Mac 10.6.6)
Hi, do you have any idea about the following error: *** Warning: Linking the shared library lib_batxml.la against the loadable module *** lib_xml.so is not portable! *** Warning: lib lib_xml.so is a module, not a shared library *** And there doesn't seem to be a static archive available *** The link will probably fail, sorry Attached are the libtool's actions concerning the previous error. Furthermore, if it is relevant to my question, i provide the following information: MonetDB_Mar2011$ find . -name 'lib_xml*' ./monetdb5/extras/xml/.libs/lib_xml.la ./monetdb5/extras/xml/.libs/lib_xml.lai ./monetdb5/extras/xml/.libs/lib_xml.so ./monetdb5/extras/xml/.libs/lib_xml.so.dSYM ./monetdb5/extras/xml/.libs/lib_xml.so.dSYM/Contents/Resources/DWARF/lib_xml.so ./monetdb5/extras/xml/.libs/lib_xml_la-xml.o ./monetdb5/extras/xml/lib_xml.la ./monetdb5/extras/xml/lib_xml_la-xml.lo And last, i can assure you that there is a static library in my system for libxml (/usr/local/Cellar/libxml2/2.7.7/lib/libxml2.a) and the directory containing it has been included in the PKG_CONFIG_PATH explicitly (you can check this by inspecting the attached file). Thanks, Babis
On 11-02-2011 23:54:27 +0200, Babis Nikolaou wrote:
Hi,
do you have any idea about the following error:
*** Warning: Linking the shared library lib_batxml.la against the loadable module *** lib_xml.so is not portable! *** Warning: lib lib_xml.so is a module, not a shared library
*** And there doesn't seem to be a static archive available *** The link will probably fail, sorry
This is a mistake in our buildsystem. batxml cannot link against xml. Would you mind filing a bug for this in our bugtracker at http://bugs.monetdb.org/ ?
On 12-02-2011 10:05:09 +0100, Fabian Groffen wrote:
On 11-02-2011 23:54:27 +0200, Babis Nikolaou wrote:
*** Warning: Linking the shared library lib_batxml.la against the loadable module *** lib_xml.so is not portable!
This is a mistake in our buildsystem. batxml cannot link against xml.
Sjoerd, is it acceptable to also make libxml2 mandatory in Mar2011, e.g. backport commit http://dev.monetdb.org/hg/MonetDB/rev/2a73aa3a2ce4 ? (it solves this problem)
On 2011-02-12 10:10, Fabian Groffen wrote:
On 12-02-2011 10:05:09 +0100, Fabian Groffen wrote:
On 11-02-2011 23:54:27 +0200, Babis Nikolaou wrote:
*** Warning: Linking the shared library lib_batxml.la against the loadable module *** lib_xml.so is not portable!
This is a mistake in our buildsystem. batxml cannot link against xml.
Sjoerd, is it acceptable to also make libxml2 mandatory in Mar2011, e.g. backport commit http://dev.monetdb.org/hg/MonetDB/rev/2a73aa3a2ce4 ? (it solves this problem)
I guess we can do that, yes. -- Sjoerd Mullender
participants (3)
-
Babis Nikolaou
-
Fabian Groffen
-
Sjoerd Mullender