[tahoe-dev] [pycryptopp] #9: link against existing (system) libcrypto++.so

pycryptopp trac at allmydata.org
Mon Mar 2 15:27:48 PST 2009


#9: link against existing (system) libcrypto++.so
------------------------+---------------------------------------------------
Reporter:  warner       |           Owner:     
    Type:  enhancement  |          Status:  new
Priority:  major        |         Version:     
Keywords:               |   Launchpad_bug:     
------------------------+---------------------------------------------------

Comment(by warner):

 To use that RTLD_GLOBAL fix, I suspect we'll need to create a python
 wrapper library: {{{aes.py}}} will do {{{from _aes import *}}} or
 something, and then {{{_aesmodule.so}}} will contain all the C++ glue.
 That will give us the opportunity to mess around with dlopen flags before
 and after the {{{_aes}}} import, without obligating all users of this
 library to be aware of the problem.

 I tried briefly to rearrange aesmodule.cpp to make this work, but I
 failed. I've done this successfully a long time ago, but it was both C
 (instead of C++) and using distutils (instead of setuptools).

-- 
Ticket URL: <http://allmydata.org/trac/pycryptopp/ticket/9#comment:11>
pycryptopp <http://allmydata.org/trac/pycryptopp>
Python bindings for the Crypto++ library


More information about the tahoe-dev mailing list