On Fri, Nov 20, 2015 at 05:37:42PM +0100, Corvus Corax wrote:
Hi again,
I solved this problem myself. I should not have used the git repository but the python package https://pypi.python.org/pypi/lxml/3.4.4
lxml.etree.c is a Cython-generated file from the true source, which is lxml.etree.pyx. lxml releases on PyPI have all the generated files in them, so that users who install from PyPI aren't required to have Cython on installed their machines.
So here comes the next problem: the linker seems to be missing some references:
lxml.etree.c
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:[...] libxslt_a.lib libexslt_a.lib libxml2_a.lib iconv_a.lib zlib.lib WS2_32.lib /EXPORT:initetree build\temp.win-amd64-2.7\Release\src\lxml\lxml.etree.obj /OUT:build\lib.win-amd64-2.7\lxml\etree.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\src\lxml\etree.lib /MANIFEST /MANIFESTFILE:build\temp.win-amd64-2.7\Release\src\lxml\etree.pyd.manifest
lxml.etree.obj : warning LNK4197: export 'initetree' specified multiple times; using first specification Creating library build\temp.win-amd64-2.7\Release\src\lxml\etree.lib and object build\temp.win-amd64-2.7\Release\src\lxml\etree.exp
lxml.etree.obj : error LNK2019: unresolved external symbol xmlStrdup referenced in function __pyx_f_4lxml_5etree_9_LogEntry__setError (and so on...)
Is this a missing library? And which one?
I'd say libxml2. Marius Gedminas -- ...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly). -- Matt Welsh