On viernes, 25 de noviembre de 2016 10:38:00 ART Stepan Golosunov wrote: > 25.11.2016 в 02:07:11 +0100 Jan Niehusmann написал: > > On Fri, Nov 25, 2016 at 01:56:19AM +0400, Stepan Golosunov wrote: > > > qsslsocket_openssl_symbols.cpp also tries to load any libssl.* it can > > > find (in directories gathered from dl_iterate_phdr) when it cannot > > > find libssl.so.<SHLIB_VERSION_NUMBER>. This asks for trouble when > > > libssl1.0.2 is not installed and probably needs to be patched out. > > > > This should be covered by qt 5.7.1~20161021+dfsg-6 (currently in sid). > > From the changelog: > > > > "Make libqt5network5 depend on libssl1.0.2. It will crash when only > > newer libssl versions are installed." > > Wasn't avoiding such dependency the entire point of dlopen'ing libssl? > If Qt can depend on libssl1.0.2 then it can probably link with it as > well. (And configure has option to do that, -openssl-linked.)
No, it's about the librar not linking openssl, or in other words avoiding libssl being listed here: $ objdump -x /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.7.1 | grep NEEDED NEEDED libQt5Core.so.5 NEEDED libpthread.so.0 NEEDED libz.so.1 NEEDED libproxy.so.1 NEEDED libstdc++.so.6 NEEDED libc.so.6 *Packages* dependencies are then metadata about the binary, but no more than that. > There is also an example of package that deals with a very similar > licensing problem without using dlopen. ffmpeg compiles a version > that depends on libraries with more restrictive license into > libavcodec-extra57, and a version without such dependency into > libavcodec57. I don't know how they handle it. I'm not sure you can avoid the problem by using plugins. Another way to get around this is having an app that links against the license-problematic lib and transfers data from and to the lib that requires it. In the SSl case I think that would be too much overhead to be usable. -- 6 - ¿Cuál es el botón del mouse que permite acceder a las acciones más comunes de archivos? a- El derecho b- El izquierdo c- El central ... ¿PORQUÉ no puedo ver la cara de un usuario de Macintosh?, ¿EH? Guillermo Marraco http://mx.grulic.org.ar/lurker/message/20080307.112156.460149a2.es.html Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.