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

riscv-nuclei-elf-gdb cannot open shared object file #9

Closed
fanghuaqi opened this issue Aug 5, 2022 · 1 comment
Closed

riscv-nuclei-elf-gdb cannot open shared object file #9

fanghuaqi opened this issue Aug 5, 2022 · 1 comment

Comments

@fanghuaqi
Copy link
Member

When using nuclei gnu toolchain, I met with this issue with fresh ubuntu/debian environment.

riscv-nuclei-elf-gdb: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
riscv-nuclei-elf-gdb: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
@fanghuaqi
Copy link
Member Author

fanghuaqi commented Aug 5, 2022

Solution:

sudo apt install libncursesw5 libtinfo5

# ldd `which riscv-nuclei-elf-gdb`
        linux-vdso.so.1 (0x00007fff217c0000)
        libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f47dfed1000)
        libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f47dfe9e000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f47dfe98000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f47dfd54000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f47dfd32000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f47dfb6d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f47dff03000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant