[lxml-dev] easy_install of 1.3.3 not working
Mike Meyer
mwm-keyword-lxml.9112b8 at mired.org
Fri Aug 3 16:55:07 CEST 2007
Hi,
I'm trying to install lxml-1.3.3 using easy-install, and it isn't so
easy. In particular (typescript edited for brevity):
Script started on Fri 03 Aug 2007 10:38:17 AM EDT
mwm$ sudo easy_install --verbose lxml==1.3.3
Searching for lxml==1.3.3
[...]
Best match: lxml 1.3.3
Downloading http://codespeak.net/lxml/lxml-1.3.3.tgz
Processing lxml-1.3.3.tgz
Unpacking lxml-1.3.3// to /tmp/easy_install-d0p9oh/lxml-1.3.3/
[...]
copying src/lxml/builder.py -> build/lib.linux-x86_64-2.5/lxml
running build_ext
building 'lxml.etree' extension
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/src
creating build/temp.linux-x86_64-2.5/src/lxml
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/usr/local/include/python2.5 -c src/lxml/etree.c -o build/temp.linux-x86_64-2.5/src/lxml/etree.o -w
gcc -pthread -shared build/temp.linux-x86_64-2.5/src/lxml/etree.o -L/usr/lib64 -L/usr/local/lib -lxslt -lexslt -lxml2 -lz -lm -lpython2.5 -o build/lib.linux-x86_64-2.5/lxml/etree.so
/usr/bin/ld: /usr/lib64/libxslt.a(xslt.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libxslt.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1
mwm$ exit
Script done on Fri 03 Aug 2007 10:39:03 AM EDT
Checking the mail list archives turns up building python
--enable-shared, and I did that, and nothing changed. The problem
appears to be with libxslt, not python in any case.
Anyone got any clues as to what to help with this?
thanks,
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
More information about the lxml-dev
mailing list