farcepest / MySQLdb1

MySQL database connector for Python (legacy version)
https://sourceforge.net/projects/mysql-python/
666 stars 318 forks source link

Upgrade OpenSSL version #149

Open Luavis opened 4 years ago

Luavis commented 4 years ago

I got issues in running my application with MySQLdb, like following.

Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

When python loading _mysql.cpython-37m-darwin.so file, it might load libssl.1.0.0 files. does it need to be specify version of openssl? cause 1.0.0 will reach EOL on 20190-12-31, it will be getting hard to install openssl 1.0.x with package manager. FYI, Since openssl 1.0 will reach EOL on 2019-12-31, macOS Homebrew removed openssl@1.0 in there repository.

Thanks.

methane commented 4 years ago

MySQL-python does not uses OpenSSL at all. It doesn't specify any ssl version too.

The underlaying library (libmysqlclient) use it. So if you are using recent libmysqlclient, you must be able to use OpenSSL 1.1.