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

Cannot run Mojo REPL after successful installation #3711

Open
tahadnan opened this issue Oct 25, 2024 · 2 comments
Open

Cannot run Mojo REPL after successful installation #3711

tahadnan opened this issue Oct 25, 2024 · 2 comments
Labels
bug Something isn't working mojo-repo Tag all issues with this label

Comments

@tahadnan
Copy link

Bug description

While discovering Mojo, I tried to install it and use it, everything went well, until I ran this command:

cd testing-mojo && magic shell

followed by mojo command which returns this error

/home/tya/code_scripts/Mojo/testing-mojo/.magic/envs/default/bin/mojo-lldb: error while loading shared libraries: libedit.so.2: cannot open shared object file: No such file or directory

Steps to reproduce

Installed mojo following the official documentation
then ran the following commands

magic init testing-mojo --format mojoproject
cd testing-mojo && magic shell
mojo

which returns

/home/tya/code_scripts/Mojo/testing-mojo/.magic/envs/default/bin/mojo-lldb: error while loading shared libraries: libedit.so.2: cannot open shared object file: No such file or directory

System information

- What OS did you do install Mojo on ?
EndeavourOS
- Provide version information for Mojo by pasting the output of `mojo -v`
mojo 24.5.0 (e8aacb95)
- Provide Magic CLI version by pasting the output of `magic -V` or `magic --version`
magic 0.4.0 - (based on pixi 0.33.0)
- Optionally, provide more information with `magic info`.
System
------------
      Pixi version: 0.33.0
          Platform: linux-64
  Virtual packages: __unix=0=0
                  : __linux=6.11.5=0
                  : __glibc=2.40=0
                  : __archspec=1=icelake
         Cache dir: /home/tya/.cache/rattler/cache
      Auth storage: /home/tya/.rattler/credentials.json
  Config locations: No config files found

Global
------------
           Bin dir: /home/tya/.modular/bin
   Environment dir: /home/tya/.modular/envs
      Manifest dir: /home/tya/.modular/manifests/pixi-global.toml

Project
------------
              Name: testing-mojo
           Version: 0.1.0
     Manifest file: /home/tya/code_scripts/Mojo/testing-mojo/mojoproject.toml
      Last updated: 25-10-2024 09:56:50

Environments
------------
       Environment: default
          Features: default
          Channels: conda-forge, https://conda.modular.com/max
  Dependency count: 1
      Dependencies: max
  Target platforms: linux-64
@tahadnan tahadnan added bug Something isn't working mojo-repo Tag all issues with this label labels Oct 25, 2024
@Satheeshsk369
Copy link

I'm also facing the same issue, how to rectify it?

@tahadnan
Copy link
Author

I wish I knew it, the language is so interesting yet I can't run it.

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

No branches or pull requests

2 participants