mysql-client doesn't work after upgrade #5547
Unanswered
midgard
asked this question in
Everyday usage
Replies: 2 comments 4 replies
-
Yeah, it seems your script or one of its dependencies hardcoded the path to the MySQL client library. That path will need to be updated now that the library is updated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had the same issue, I needed to reinstall mysqlclient with no-cache option.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
mysql-client upgraded, and my python script doesn't work now.
ImportError: dlopen(/Users/kronokrator/PycharmProjects/apt2-be/venv/lib/python3.12/site-packages/MySQLdb/_mysql.cpython-312-darwin.so, 0x0002): Library not loaded: /opt/homebrew/opt/mysql-client/lib/libmysqlclient.23.dylib Referenced from: <8ADCE65B-9620-3A41-97D7-777E35921CE5> /Users/kronokrator/PycharmProjects/apt2-be/venv/lib/python3.12/site-packages/MySQLdb/_mysql.cpython-312-darwin.so Reason: tried: '/opt/homebrew/opt/mysql-client/lib/libmysqlclient.23.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/mysql-client/lib/libmysqlclient.23.dylib' (no such file), '/opt/homebrew/opt/mysql-client/lib/libmysqlclient.23.dylib' (no such file), '/opt/homebrew/Cellar/mysql-client/9.0.1/lib/libmysqlclient.23.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/mysql-client/9.0.1/lib/libmysqlclient.23.dylib' (no such file), '/opt/homebrew/Cellar/mysql-client/9.0.1/lib/libmysqlclient.23.dylib' (no such file)
Beta Was this translation helpful? Give feedback.
All reactions