[solved]error while loading shared libraries: libncurses.so.5

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

User avatar
artbody
Posts: 18
Joined: Tue Jan 01, 2019 7:07 pm
Location: Germany
Contact:

[solved]error while loading shared libraries: libncurses.so.5

Postby artbody » Tue Jan 01, 2019 9:31 pm

Hi there,
Now after successfully importing a projekt from SW4STM32 this compiles in Atollic TrueStudio well.
without errors.

If i start the debug session i got this error:

Code: Select all

Could not determine GDB version using command: /opt/Atollic_TrueSTUDIO_for_STM32_x86_64_9.1.0/ARMTools/bin/arm-atollic-eabi-gdb --version
/opt/Atollic_TrueSTUDIO_for_STM32_x86_64_9.1.0/ARMTools/bin/arm-atollic-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory


same Error with version Atollic_TrueSTUDIO_for_STM32_x86_64_9.2


but

Code: Select all

 find /usr/ -iname '*libncurses*'
/usr/lib32/libncurses++w.so.6
/usr/lib32/libncurses++.so
/usr/lib32/libncurses++.so.6.1
/usr/lib32/libncurses.so.6.1
/usr/lib32/libncurses.so.5
/usr/lib32/libncursesw.so.6.1
/usr/lib32/libncursesw.so.6
/usr/lib32/libncursesw.so
/usr/lib32/libncurses++w.so
/usr/lib32/libncurses.so.6
/usr/lib32/libncurses++w.so.6.1
/usr/lib32/libncurses.so
/usr/lib32/libncurses++.so.6
/usr/lib64/vlc/plugins/gui/libncurses_plugin.so
/usr/lib64/libncurses++w.so.6
/usr/lib64/libncurses++.so
/usr/lib64/libncurses++.so.6.1
/usr/lib64/libncurses.so.5
/usr/lib64/libncursesw.so
/usr/lib64/libncurses++w.so
/usr/lib64/libncurses++w.so.6.1
/usr/lib64/libncurses.so
/usr/lib64/libncurses++.so.6



I'm working on a Gentoo Linux

Code: Select all

 uname -a
Linux artbody 4.14.83-gentoo #1 SMP Mon Dec 3 23:46:25 CET 2018 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux



Perhaps someone has a tip to solve this problem
Last edited by artbody on Sat Jan 05, 2019 8:09 pm, edited 1 time in total.
Linux artbody 4.14.83-gentoo #1 SMP Mon Dec 3 23:46:25 CET 2018 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux
:mrgreen:

User avatar
artbody
Posts: 18
Joined: Tue Jan 01, 2019 7:07 pm
Location: Germany
Contact:

Re: error while loading shared libraries: libncurses.so.5

Postby artbody » Sat Jan 05, 2019 8:09 pm

Ok problem is solved
now all works fine

Code: Select all

root@linux#
ln -s /usr/lib/libncurses++w.so.6.1 /usr/lib/libtinfo.so.5
ln -s /usr/lib/libncurses++w.so.6.1 /usr/lib/libncurses.so.5
ldconfig


:lol:
Linux artbody 4.14.83-gentoo #1 SMP Mon Dec 3 23:46:25 CET 2018 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux
:mrgreen:


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: Google [Bot] and 2 guests