]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: civetweb/openssl: Load libssl.so and libcrypto.so by soname.
authorMarcus Watts <mwatts@redhat.com>
Mon, 11 Jul 2016 21:54:07 +0000 (17:54 -0400)
committerMarcus Watts <mwatts@redhat.com>
Tue, 20 Dec 2016 05:36:44 +0000 (00:36 -0500)
commit7caa0bd002110b62514da83a37a2a3deb841267a
tree1d09ac24efd2ae56834a2352252f56b6ca1d271d
parent8308a13b0257c9460fd2a721c20b0c37cb9e7c57
rgw: civetweb/openssl: Load libssl.so and libcrypto.so by soname.

If building with radosgw, always look for openssl library (even when
building with nss).  Then, use objdump to fetch SONAME from the copies
of libssl and libcrypto that were found.  When building civetweb; pass
the library soname values in as the libraries to load with "dlopen".

This is a problem that went away for a bit, but came back with some
changes for
http://tracker.ceph.com/issues/16535

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1341775
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1258961
Fixes: http://tracker.ceph.com/issues/11239
Signed-off-by: Marcus Watts <mwatts@redhat.com>
CMakeLists.txt
src/CMakeLists.txt