Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: behlers on December 29, 2015, 02:35:37 AM
-
When I compile a qt program (ostinato) using the qt-4.x-dev package, I get the following error during the link phase:
/usr/local/lib/libQtNetwork.so: undefined reference to `SSLv2_server_method'
/usr/local/lib/libQtNetwork.so: undefined reference to `SSLv2_client_method'
The openssl library indeed doesn't define these two functions. It seems, that qt4 tries to use the deprecated SSLv2 methods. For me it looks like the qt4 libraries in tinycore were build with an older version of openssl, which included SSLv2 support.
To get around this, I added a module with dummy functions for SSLv2_client_method and SSLv2_server_method. Then I can sucessfully complete the compilation. Is there a better way to get around this?
-
Yes, it needs a recompile. What version and arch are you on?
-
I'm using mirocore V6.4.1 x86 (32 bit) with freshly installed extensions:
qt-4.x: version 4.8.6
openssl: version 1.0.2d
-
aaargh - OK, I'll take a look at this at some point...
-
In an attempt to avoid a lot of effort, I tried replacing just libQtNetwork.so* in qt-4.x-base.
Could you try the new version here:
http://tinycorelinux.net/6.x/x86/tcz/src/qt-4.x_test/
..and let me know if it works.
-
Looks good. Replaced the original qt-4.x-base package by the test version. Now the link phase works without problems and the resulting binary runs.
-
Great :)
qt-4.x-base updated in the repo