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

[Magic CLI]: mojo or mojo debug lead to "error while loading shared libraries: libedit.so.2" #3629

Open
Julian-J-S opened this issue Oct 9, 2024 · 1 comment
Labels
mojo-repo Tag all issues with this label

Comments

@Julian-J-S
Copy link

Issue description

When running

  • mojo or
  • mojo debug main.mojo

Getting the error:
/home/julian/programming/mojo/hello2/.magic/envs/default/bin/mojo-lldb: error while loading shared libraries: libedit.so.2: cannot open shared object file: No such file or directory

However mojo main.mojo works! 🟢

Steps to reproduce

Setup project with magic init hello --format mojoproject
Run commands from issue description

Version Info

- magic: magic 0.3.1 - (based on pixi 0.29.0)
- mojo: mojo 24.5.0 (e8aacb95)
- OS: Fedora Linux 40 (Workstation Edition)
@Julian-J-S Julian-J-S added magic-cli Anything related to the Magic CLI mojo-repo Tag all issues with this label labels Oct 9, 2024
@stflavian
Copy link

I am currently having the same issue on Fedora 40. As far as I can see, a workaround for missing libraries on Fedora (including this one) was already discussed here. But it would be nice if these would be covered by the installer instead of leaving them to the user to deal with.

@JoeLoser JoeLoser removed the magic-cli Anything related to the Magic CLI label Oct 24, 2024
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