Bug #1142 ./configure - error in file causes failure of compile (SSL option needed)

Submitted: 26 Aug 2003 9:25 Modified: 10 Dec 2003 6:04
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:4.0.14 OS:MacOS (OSX Server 10.2.6)
Assigned to: Sergei Glukhov CPU Architecture:Any

[26 Aug 2003 9:25] [ name withheld ]
Description:
Unable to compile --with-openssl for the configure program can not find the needed libraries

-----------
Line #20908:   if test -f $d/libssl.a ; then
----------

The above is the fault for that file does not exist in OSX

How to repeat:
Compile the program under OSX using:

./configure CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile  --disable-shared --with-openssl

and the configure program will quit with the error of "unable to locate openssl"

Suggested fix:
Change ./configure file

---------
Line #20908: if test -f $d/libssl.dylib ; then
----------

To reflect the preinstalled OpenSSL library filename for OSX
[1 Sep 2003 3:50] Sergei Glukhov
ChangeSet
  1.1548 03/09/01 15:36:53
[10 Dec 2003 6:04] Sergei Glukhov
Fixed in source repository

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.