M1 processor installation
M1 processor installation
The IBM ODBC DB2 driver functions only on MacOS x86_64 architecture.
Use the following steps to configure an M1 (or later architecture) processor to behave as MacOS x86_64 architecture so that it can communicate with the IBM ODBC DB2 driver.
Install Rosetta. Open a terminal window and issue the following command:
softwareupdate --install-rosetta --agree-to-license
Modify
~/.zshrc
to contain the following syntax:alias arm="env /usr/bin/arch -arm64 /bin/zsh --login"alias intel="env /usr/bin/arch -x86_64 /bin/zsh --login"
Source the new file by issuing the following command:
~/.zshrc
Switch to the x86_64 architecture by issuing the following command:
intel
Reinstall Zowe CLI.
After you complete these steps, do one of the following:
If you are installing the plug-in from an online registry, continue with Step 2 in Install from an online registry.
If you are installing the plug-in from a local package, continue with Step 2 in Installing from a local package.
Important! You must issue the intel
command every time that you open a new terminal window to help ensure that Zowe CLI, Secure Credential Storage and the DB2 plug-in function properly on x86_64 architecture. Also, issue the command before you issue Zowe CLI commands.