Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on modular --help && modular -v && modular update mojo && modular auth #2731

Open
ardeshir opened this issue May 18, 2024 · 1 comment
Assignees
Labels
mojo-repo Tag all issues with this label

Comments

@ardeshir
Copy link

ardeshir commented May 18, 2024

Issue description

Errors on modular --help && modular -v && modular update mojo && modular auth

  • dyld[99868]: Symbol not found: _iconv Referenced from: <53041938-9CF4-3DCF-9479-C3D3DF63C31A> /opt/homebrew/Cellar/modular/0.8.0/bin/modular Expected in: <5FEC81F0-90A7-34F9-AFA5-27882CEBD803> /opt/local/lib/libiconv.2.dylib Abort trap: 6

Steps to reproduce

  • Open a terminal and install the modular command line tool:
curl -s https://get.modular.com | sh -

Version Info

- Modular cli 0.8.0 
- Apple M1 Pro | macOS Sonoma Version 14.4.1 (23E224)
@ardeshir ardeshir added modular-cli modular tool issues mojo-repo Tag all issues with this label labels May 18, 2024
@ardeshir ardeshir changed the title Errors on modular --help && modular -v && modular update mojo Errors on modular --help && modular -v && modular update mojo && modular auth May 18, 2024
@ematejska ematejska removed the modular-cli modular tool issues label May 20, 2024
@zbowling
Copy link

It looks like you have a 3rd party compiled of copy of libiconv installed on your system, probably by a 3rd party package manager or package installer. Your system iconv library in /usr/lib/libiconv.2.dylib is getting stomped out by incompatible one on your system in /opt/local/lib/libconv.2.dylib.

Do you possibly have macports installed or another set of tools that may installed packages in /opt/local/bin? In your bash environment you may also have a DYLD_LIBRARY_PATH env set to search in /opt/local/lib first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

3 participants