[Interest] SSL link errors building on Mac

Gil Moses gil at waves.com
Sun May 19 13:46:41 CEST 2013


I'm trying to build Qt 5.0.2 libraries with WebKit + open ssl, and I'm receiving link errors. Here are the details:

My configuration:

./configure -debug-and-release -platform macx-g++42  -opensource -openssl-linked -no-xcb -no-eglfs -no-directfb -no-linuxfb -no-kms -opengl -I/Users/gilm/Downloads/openssl-1.0.1e/include -L/Users/gilm/Downloads/openssl-1.0.1e -confirm-license

(note, I'm forcing the ssl includes and libs to be taken from a temporary location of the newest openssl).

MacOSX 10.6.8

The error:

Undefined symbols:
  "_TLSv1_2_server_method", referenced from:
      q_TLSv1_2_server_method()     in qsslsocket_openssl_symbols.o
     (maybe you meant: q_TLSv1_2_server_method())
  "_TLSv1_1_server_method", referenced from:
      q_TLSv1_1_server_method()     in qsslsocket_openssl_symbols.o
     (maybe you meant: q_TLSv1_1_server_method())
  "_TLSv1_2_client_method", referenced from:
      q_TLSv1_2_client_method()     in qsslsocket_openssl_symbols.o
     (maybe you meant: q_TLSv1_2_client_method())
  "_TLSv1_1_client_method", referenced from:
      q_TLSv1_1_client_method()     in qsslsocket_openssl_symbols.o
     (maybe you meant: q_TLSv1_1_client_method())
ld: symbol(s) not found

I couldn't find any trace of the _TLSv1_2_server_method symbol being used. Also, thinking that the wrong ssl library was being used, I tried hiding all libssl's I could find on my system, but with no luck. And, using the nm tool I could see that the four aforementioned symbols are exported from the ssl library I'm pointing to.

Any ideas?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130519/b21f3edd/attachment.html>

More information about the Interest mailing list