Line 0
Link Here
|
|
|
1 |
--- src/network/ssl/qsslsocket_openssl_symbols.cpp.orig 2015-05-07 14:14:44 UTC |
2 |
+++ src/network/ssl/qsslsocket_openssl_symbols.cpp |
3 |
@@ -511,9 +511,9 @@ static QPair<QLibrary*, QLibrary*> loadO |
4 |
libcrypto->setLoadHints(libcrypto->loadHints() | QLibrary::ImprovedSearchHeuristics); |
5 |
#elif defined(SHLIB_VERSION_NUMBER) |
6 |
// first attempt: the canonical name is libssl.so.<SHLIB_VERSION_NUMBER> |
7 |
- libssl->setFileNameAndVersion(QLatin1String("ssl"), QLatin1String(SHLIB_VERSION_NUMBER)); |
8 |
+ libssl->setFileNameAndVersion(QLatin1String("/usr/local/lib/libssl"), QLatin1String(SHLIB_VERSION_NUMBER)); |
9 |
libssl->setLoadHints(QLibrary::ImprovedSearchHeuristics); |
10 |
- libcrypto->setFileNameAndVersion(QLatin1String("crypto"), QLatin1String(SHLIB_VERSION_NUMBER)); |
11 |
+ libcrypto->setFileNameAndVersion(QLatin1String("/usr/local/lib/libcrypto"), QLatin1String(SHLIB_VERSION_NUMBER)); |
12 |
libcrypto->setLoadHints(libcrypto->loadHints() | QLibrary::ImprovedSearchHeuristics); |
13 |
if (libcrypto->load() && libssl->load()) { |
14 |
// libssl.so.<SHLIB_VERSION_NUMBER> and libcrypto.so.<SHLIB_VERSION_NUMBER> found |
15 |
@@ -525,8 +525,8 @@ static QPair<QLibrary*, QLibrary*> loadO |
16 |
#endif |
17 |
|
18 |
// second attempt: find the development files libssl.so and libcrypto.so |
19 |
- libssl->setFileNameAndVersion(QLatin1String("ssl"), -1); |
20 |
- libcrypto->setFileNameAndVersion(QLatin1String("crypto"), -1); |
21 |
+ libssl->setFileNameAndVersion(QLatin1String("/usr/local/lib/libssl"), -1); |
22 |
+ libcrypto->setFileNameAndVersion(QLatin1String("/usr/local/lib/libcrypto"), -1); |
23 |
if (libcrypto->load() && libssl->load()) { |
24 |
// libssl.so.0 and libcrypto.so.0 found |
25 |
return pair; |