Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603868 - dev-libs/cryptlib[python] linked against static cryptlib instead of dynamic
Summary: dev-libs/cryptlib[python] linked against static cryptlib instead of dynamic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-27 23:35 UTC by Javantea
Modified: 2016-12-30 21:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javantea 2016-12-27 23:35:54 UTC
The python module for cryptlib is broken due to lack of zlib. This is caused by the zlib patch only working for the C library and not for the bindings. The patch should modify bindings/setup.py to cause it to use the system zlib also.

>>> import cryptlib_py
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib64/python3.4/site-packages/cryptlib_py.cpython-34m.so: undefined symbol: inflate

This also affects the python2.7 bindings and any other bindings.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2016-12-30 13:43:32 UTC
Hi,
Can you please checkout dev-libs/cryptlib-3.4.3-r1 I see this was already addressed in past but commented out... I am unsure why.
Thanks!
Comment 2 Javantea 2016-12-30 20:25:27 UTC
dev-libs/cryptlib-3.4.3-r1 fixes python but removes the python3_4 and python3_5 targets.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2016-12-30 20:28:07 UTC
(In reply to Javantea from comment #2)
> dev-libs/cryptlib-3.4.3-r1 fixes python but removes the python3_4 and
> python3_5 targets.

yes, I found out that this package is incompatible with python-3.
I will remove the previous one.