Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Does openssl-linked work?

$
0
0
Hi all, I need my apps to use a very specific version of openssl. I was told that by default, Qt apps would load the dynamic openssl libs on my system (Mac OSX 10.8.4, libs are in /usr/lib/) and that if I wanted them to use another version I would have to either make the apps look for the dylibs in the local path (how?) or link to openssl libs statically. I think the latter can be achieved by building the Qt project using ./configure -openssl-linked, then make,, and then building applications using the Qt libs created (http://qt-project.org/doc/qt-5.1/qtnetwork/ssl.html ). I did that, and then built my project but the apps still seem to look for openssl dynamically. Running “otool -L <exec>” still says: /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 47.0.0) /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 47.0.0) … These are the commands I ran: >export OPENSSL_LIBS=”-L /Users/MyUser/Development/MyProject/dependencies/openssl -lssl -lcrypto” >./configure -prefix /Users/MyUser/qt-static -openssl-linked -opensource -confirm-license -nomake examples -nomake tests >make -j 4 >make install Am I doing something wrong?

Viewing all articles
Browse latest Browse all 2113

Trending Articles