Static-deps fails in the presence of Ubuntu "libgcrypt11-dev"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Confirmed
|
Low
|
Unassigned |
Bug Description
If my 11.10 Ubuntu machine has the "libgcrypt11-dev" package installed, then a STATIC_DEPS=true install of lxml 2.3.3 off of PyPI builds a library that dies on "import lxml.etree" with the error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /home/brandon/
The article "Compiling lxml/libxml2/
CFLAGS='-lgcrypt -fPIC' STATIC_DEPS=true ...
With these options, it is another symbol that Python complains about upon import:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /home/brandon/
Removing "libgcrypt11-dev" solves the problem, but unfortunately the package is a dependency of "libgdal1" which we need for some geospatial logic inside of our application.
Here is the version info that I can get:
Python : sys.version_
And, for what it's worth, getting past the problem described above leads to another failure- upon-import:
Traceback (most recent call last): newfs/buildout- myplants/ local/lib/ python2. 7/site- packages/ lxml/etree. so: undefined symbol: libiconv
File "v.py", line 2, in <module>
from lxml import etree
ImportError: /home/brandon/
But I will probably wait to file a separate bug report on it until you can look into the above problem and see what is going on. Thanks!