]> granicus.if.org Git - apache/commitdiff
Describe issue with multiple OpenSSL installs
authorJeff Trawick <trawick@apache.org>
Sat, 29 Mar 2014 17:03:00 +0000 (17:03 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 29 Mar 2014 17:03:00 +0000 (17:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1583027 13f79535-47bb-0310-9956-ffa450edef68

README.cmake

index 3f1e72ada4755459030fa33c97f6830d95f1cd30..1b0589b3af4963b7f1db5ef90a4a76cc3257f7f8 100644 (file)
@@ -59,6 +59,25 @@ enabled:
 * openssl (mod_ssl and https support for ab)
 * zlib (mod_deflate)
 
+OpenSSL
+-------
+
+If you have a binary install of OpenSSL in a well-known directory (e.g.,
+%HOME%\OpenSSL-Win64) and you wish to build httpd against a different
+install of OpenSSL, the cmake build may unexpectedly select OpenSSL
+libraries in the well-known directory even if the expected include files
+are used.  Check the cmake output from your httpd build to confirm that
+the expected OpenSSL libraries and include files are used.
+
+The cmake FindOpenSSL module searches for OpenSSL libraries in a "VC"
+subdirectory of the OpenSSL install with filenames that indicate the build
+type (e.g., "<PREFIX>/lib/VC/ssleay32MD.lib"); defining CMAKE_PREFIX_PATH
+or OPENSSL_ROOT_DIR or even OPENSSL_LIBRARIES does not circumvent finding
+these libraries.
+
+To work around this issue, rename the well-known OpenSSL directory while
+building httpd.  Let us know if you find a better solution.
+
 How to build
 ------------