Opened 7 months ago

Last modified 7 months ago

#69417 closed defect

mysql8 install fails on Sonoma OSX running on m1 — at Version 1

Reported by: RayMeadows Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: mysql8

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (1)

comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Sounds like you copied an old MacPorts installation from an Intel Mac to your Apple Silicon Mac. Check out the migration instructions for all the steps you should perform in that case.

Note: See TracTickets for help on using tickets.