Opened 8 months ago
Last modified 8 months ago
#69417 closed defect
mysql8 install fails on Sonoma OSX running on m1 — at Initial Version
Reported by: | RayMeadows | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | Cc: | ||
Port: | mysql8 |
Description
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.