Closed
Description
BUG/PROBLEM REPORT / FEATURE REQUEST
What I did:
Tried to installed Zope 5.8.5 with ZMySQLDA.
What actually happened:
The bin/buildout install breaks complaining it cannot find mysqlclient (C library).
The reason is that ZMySQLDA pulls the latest python mysqlclient (2.2) which is now using pkg-config. The setup of MariaDB (at least in SLES15) does not create mysqlclient.pc file, it creates only libmariadb.pc.
This has already been fixed in mysqlclient, but not yet released, see PyMySQL/mysqlclient#631.
So, for some setups using MariaDB with mysqlclient 2.2, the adapter will break.
Workaround is to copy libmariadb.pc to mysqlclient.pc (in folder /usr/lib64/pkg-config) or wait for a new release of mysqlclient.
What version of Python and Zope/Addons I am using:
Suse SLES 15 SP 5, Python 3.11, Zope 5.8.5, MariaDB 10.6.
Metadata
Metadata
Assignees
Labels
No labels