Bug #2088 | mysqlclient_r: compilation problem with support SSL | ||
---|---|---|---|
Submitted: | 11 Dec 2003 1:12 | Modified: | 15 Jan 2004 3:27 |
Reporter: | Vladimir Stepanov | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 4.0.16 | OS: | FreeBSD (FreeBSD 5.x) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[11 Dec 2003 1:12]
Vladimir Stepanov
[11 Dec 2003 1:13]
Vladimir Stepanov
change subject
[13 Dec 2003 19:21]
Michael Widenius
What is the problem/symptom you have with openssl and libmysql_r ? The code in Makefile.am was correct as @LIBS@ contains the libraries needed for a threaded library/application and @CLIENT_LIBS@ is for a non threaded application. I just compiled libmysqlclient_r and openssl without any problems on my SuSe Linux 8.2 computer.
[15 Dec 2003 3:27]
Vladimir Stepanov
Yes, it is a problem 'mysql_r' with statically linked library 'openssl'. The source code of 'mysql_r' can be linked without problems, but its further use by applications is impossible. As an example, at use python the module - MySQLdb-0.9.2 the program interrupts with the message on a mistake: >>> import MySQLdb Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/MySQLdb/__init__.py", line 27, in ? import _mysql ImportError: /usr/local/lib/mysql/libmysqlclient_r.so.12: Undefined symbol "ERR_get_error_line_data" At viewing the size of files discourages discrepancy a little: # ls -l libmysqlclient.so.12 libmysqlclient_r.so.12 -rwxr-xr-x 1 root wheel 1438412 Dec 15 12:58 libmysqlclient.so.12 -rwxr-xr-x 1 root wheel 289452 Dec 15 12:58 libmysqlclient_r.so.12
[14 Feb 2005 22:54]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".