Bug #93846 Contribution: Use mysql_config for --with-mysql-capi= when using --static

Submitted: 7 Jan 2019 22:46 Modified: 30 Jun 2020 19:46
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / Python Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[7 Jan 2019 22:46] OCA Admin
Description:
This bug tracks a contribution by Daniël van Eeden (Github user: dveeden) as described in http://github.com/mysql/mysql-connector-python/pull/47

How to repeat:
See description

Suggested fix:
See contribution code attached
[7 Jan 2019 22:46] OCA Admin
Contribution submitted via Github - Use mysql_config for --with-mysql-capi= when using --static 
(*) Contribution by Daniël van Eeden (Github dveeden, mysql-connector-python/pull/47#issuecomment-452082888): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_242496736.txt (text/plain), 2.14 KiB.

[8 Jan 2019 5:11] MySQL Verification Team
Hello Daniël,

Thank you for the report and contribution.

regards,
Umesh
[30 Jun 2020 19:46] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/Python 8.0.21 release, and here's the proposed changelog entry from the documentation team:

Connector/Python assumed that MySQL libraries were under lib/ when
compiling the C extension, but now uses the mysql_config flags which adds
the correct include and libraries paths. Thanks to Daniël van Eeden for
the patch.

Thank you for the bug report.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.