Changes between Initial Version and Version 1 of Ticket #69417


Ignore:
Timestamp:
Feb 28, 2024, 9:01:17 PM (7 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #69417 – Description

    initial v1  
    1 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?
     1I used MacPorts to try to install mysql 8 on a Mac with M1 chip.  I got this error:
     2{{{
     3Cannot 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.
     4}}}
     5How can I fix this and install mysql 8?
    26I tried a workaround suggested by ChatGPT - adding arm64 to the universal_archs line in the configuration file and then installing libedit for arm64 architecture.
    3 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.
     7This did not solve the problem. the most relevant error message seems to be this:
     8{{{
     9Failed 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.
     10}}}