[MacPorts] #68002: mysql8 @8.0.34: mysql_config --libs has incorrect lib name for zlib

MacPorts noreply at macports.org
Sun Aug 27 14:00:49 UTC 2023


#68002: mysql8 @8.0.34: mysql_config --libs has incorrect lib name for zlib
------------------------------------------+-------------------------
  Reporter:  jhoyt4                       |      Owner:  herbygillot
      Type:  defect                       |     Status:  assigned
  Priority:  Normal                       |  Milestone:
 Component:  ports                        |    Version:
Resolution:                               |   Keywords:
      Port:  mysql8 mysql81 p5-dbd-mysql  |
------------------------------------------+-------------------------
Changes (by jhoyt4):

 * port:  mysql8 p5-dbd-mysql => mysql8 mysql81 p5-dbd-mysql


Comment:

 Homebrew patched around the problem by modifying mysql_config to use the
 correct link witht he following code:
 {{{
     # Fix bad linker flags in `mysql_config`.
     # https://bugs.mysql.com/bug.php?id=111011
     inreplace bin/"mysql_config", "-lzlib", "-lz"
 }}}

 Looking this issue also effects mysql81

-- 
Ticket URL: <https://trac.macports.org/ticket/68002#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list