Installation Plone 5 with lxml on CentOS 7 doesn't work


installation Plone 5 with lxml on CentOS7 using UnifiedInstaller results in:

ImportError: /home/mh/swmems/buildout-cache/eggs/lxml-3.4.4-py2.7-linux-x86_64.egg/lxml/ undefined symbol: lzma_properties_decode

UnifiedInstaller-Version: Plone-5.1.2-UnifiedInstaller.tgz
CentOS Version: CentOS Linux release 7.5.1804 (Core)

Installation via:
./ --target=/home/mhl/swmems --build-python --static-lxml zeo

Installed libraries:
yum install wget
yum install libxml2-devel
yum install libxslt-devel
yum install zlib-devel: ist bereits in der neuesten Version installiert
yum install libjpeg-devel
yum install openssl-devel
yum install bzip2-devel
yum install bzip2
yum install gcc

install.log UnifiedInstaller:
lxml: Building lxml ...
/home/mh/swmems/Python-2.7/lib/python2.7/distutils/ UserWarning: Unknown distribution option: 'bugtrack_url'
Building lxml version 3.4.4.
Building without Cython.
Using build configuration of libxslt 1.1.29
Building against libxml2/libxslt in one of the following directories:
Installing lxmlpy.
Generated interpreter '/home/mh/swmems/zeocluster/bin/lxmlpy'.
Traceback (most recent call last):
File "/home/mh/swmems/zeocluster/bin/lxmlpy", line 18, in
File "", line 1, in
ImportError: /home/mh/swmems/buildout-cache/eggs/lxml-3.4.4-py2.7-linux-x86_64.egg/lxml/ undefined symbol: lzma_properties_decode

Is there any hint ?
Thank you very much,

Likely you need to install the lzma-devel package before running the installation.


thanks - but after installing lzma-devel the problem is still there:
ImportError: /home/mh/swmems/buildout-cache/eggs/lxml-3.4.4-py2.7-linux-x86_64.egg/lxml/ undefined symbol: lzma_properties_decode


Did you try to reinstall or recompile the lxml package?

Why are you using the "--static-lxml" flag? That's generally only needed when no satisfactory libxml2/libxslt is available. CentOS 7 is old, but I didn't think it was that old.

yes, via reinstallation,
thank you

yes, you are right, installation without '--static-lxml' is working for me, lxml is running fine.
Thank you

Plone Foundation Code of Conduct