Bug #1923 | bogus openssl support | ||
---|---|---|---|
Submitted: | 23 Nov 2003 9:11 | Modified: | 12 Dec 2003 5:08 |
Reporter: | Jens Elkner | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
Version: | 4.0.16 | OS: | Linux (Linux (*x)) |
Assigned to: | Michael Widenius | CPU Architecture: | Any |
[23 Nov 2003 9:11]
Jens Elkner
[23 Nov 2003 20:45]
Boyd Gerber
From bug report "1) Hmmm - per default mysql links against against the dynamic libs of openssl (i.e. libssl.so ...) but your hacked acinclude.m4 tries to find libssl.a, only!" I verified this on two different OS's UnixWare and SuSE 8.2 I renamed libssl.a and on these two platforms and there was problems with finding openssl as per the bug report. Yhid is for 1 and 2 and also "2) libmysql/conf_to_source is unwisely linked against libopenssl and this breaks the build, in case a) ssl libs are not in the default system location or b) ssl libs are not included in the LD_LIBRARY_PATH or c) the installed ssl libs on the systems or not compatible to the libs, conf_to_source is linked to " Verified on UnixWare 7.1.3. I think that item 3 should be investigated.
[12 Dec 2003 5:08]
Michael Widenius
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: We have now fixed that we also search for libssl.so Thanks for the suggestion to use pkg-config but unfortunately this is not an option for us becasue: - not many users have pkg-config installed by default and we don't want to have our build system depending on too many different projects. - pkg-config doesn't exists on all platforms that MySQL supports We may in the future make a special case for Linux but as the current system works resonable well we don't regard this as critically important. You can with mysql always specify which openssl version to use with --with-openssl-includes and --with-openssl-libs