You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include relevant code snippet or link to code that did not work as expected.
(hello) xxx@coding:~/mojo_exp/hello$ mojo build hello.mojo
/usr/bin/ld: cannot find -lz: No such file or directory
/usr/bin/ld: cannot find -ltinfo: No such file or directory
collect2: error: ld returned 1 exit status
mojo: error: failed to link executable
If applicable, add screenshots to help explain the problem.
If using the Playground, name the pre-existing notebook that failed and the steps that led to failure.
Include anything else that might help us debug the issue.
I try to set LD_LIBRARY_PATH to the project .magic lib path, like .magic/envs/default/lib, because the missing so files are there, but it didn't help.
System information
- What OS did you do install Mojo on ?
Operating System: Ubuntu 22.04.5 LTS
Kernel: Linux 5.15.0-122-generic
Architecture: x86-64
- Provide version information for Mojo by pasting the output of `mojo -v`
mojo 24.5.0 (e8aacb95)
- Provide Modular CLI version by pasting the output of `modular -v`
magic 0.3.0
- ld version
2.38
The text was updated successfully, but these errors were encountered:
Bug description
Just Following the Get Started Doc of Mojo, failed in the step 4 Build an executable binary.
Steps to reproduce
I try to set
LD_LIBRARY_PATH
to the project.magic
lib path, like.magic/envs/default/lib
, because the missing so files are there, but it didn't help.System information
The text was updated successfully, but these errors were encountered: