On Fri, Feb  7, 2014 at 15:04:47 +0100, Jonas Borgström wrote:

> On 2014-02-07 12:12 , Jakub Wilk wrote:
> > What attic/crypto.py currently does is:
> > 
> > libcrypto = cdll.LoadLibrary(find_library('crypto'))
> > 
> > But there is no guarantee that find_library('crypto') returns a library
> > that is ABI-compatible with the Python code. For the Debian package, a
> > quick&dirty fix is to replace the find_library() call with
> > 'libcrypto.so.1.0.0', then hardcode libssl1.0.0 in Depends. But that of
> > course means that the package would need a sourceful upload by the next
> > OpenSSL transition.
> 
> You're right. The "find_library('crypto')" line itself won't guarantee
> any ABI-compatibility but a "Depends: libssl1.0.0 (>= 1.0.0)" line will.
> 
No, because it doesn't guarantee that libssl1.1 is not installed, and
find_library('crypto') may well pick that one instead of the expected
libcrypto.so.1.0.0.

Cheers,
Julien
-- 
Julien Cristau          <[email protected]>
Logilab                 http://www.logilab.fr/
Informatique scientifique & gestion de connaissances


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to