[MacPorts] #69417: mysql8 install fails on Sonoma OSX running on m1

MacPorts noreply at macports.org
Wed Feb 28 20:18:35 UTC 2024


#69417: mysql8 install fails on Sonoma OSX running on m1
------------------------+--------------------
 Reporter:  RayMeadows  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.1
 Keywords:              |       Port:  mysql8
------------------------+--------------------
 I used MacPorts to try to install mysql 8 on a Mac with M1 chip.  I got
 this error:Cannot install mysql8 for the arch 'arm64' because its
 dependency libedit is only installed for the arch 'x86_64' and the
 configured universal_archs 'x86_64 i386' are not sufficient. How can I fix
 this and install mysql 8?
 I tried a workaround suggested by ChatGPT - adding arm64 to the
 universal_archs line in the configuration file and then installing libedit
 for arm64 architecture.
 This did not solve the problem. the most relevant error message seems to
 be this: Failed to activate gettext-runtime: Image error:
 /opt/local/bin/envsubst is being used by the active gettext port.  Please
 deactivate this port first, or use 'port -f activate gettext-runtime' to
 force the activation.

-- 
Ticket URL: <https://trac.macports.org/ticket/69417>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list