Bug #22651 broken check for OpenSSL libs in configure
Submitted: 25 Sep 2006 4:09 Modified: 25 Sep 2006 7:56
Reporter: Scott Douglass Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.24a OS:Linux (RedHat Linux 9)
Assigned to: CPU Architecture:Any

[25 Sep 2006 4:09] Scott Douglass
Description:
Attempting to configure source code using --with-openssl=/my/strange/location fails with "Could not find an installation of OpenSSL".

How to repeat:
configure --with-openssl=/my/strange/location

Suggested fix:
patch configure script:

Since $d is not defined in this case, this check should use $libs instead:

Line 39039:
      # Test for libssl using all known library file endings
      if test -f $libs/libssl.a || test -f $libs/libssl.so || \
         test -f $libs/libssl.sl || test -f $libs/libssl.dylib ; then
        OPENSSL_LIB=$libs
      fi
[25 Sep 2006 4:10] Scott Douglass
whoops, typo in version!
[25 Sep 2006 7:56] Valeriy Kravchuk
Duplicate of bug #21327. Already fixed. Fix will be included in version 5.0.26.