- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
When I try to use "Debug configuration" in eclipse when trying to run my niios application, I get the error message
Error creating session
nios2-elf-gdb: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
nios2-elf-gdb: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
nios2-elf-gdb: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
I do have libncursesw.so.5 but not in /usr/lib/x86_64-linux-gnu/ instead they are placed in /snap/core/10126/lib/x86_64-linux-gnu/
How do I get them from the /snap/core/10126/lib/x86_64-linux-gnu/ to /usr/lib/x86_64-linux-gnu/ ?
If they should be in /snap/core/10126/lib/x86_64-linux-gnu/, should I modify the LD_LIBRARY_PATH ?
LD_LIBRARY_PATH does not exist at the moment.
Regards
Plafrom
$ uname -a
Linux Frela 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-get install libncurses5 libncurses5:i386
[sudo] password for stefan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5 is already the newest version (6.2-0ubuntu2).
libncurses5:i386 is already the newest version (6.2-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
/$ sudo find . | grep "libncursesw.so"
find: ‘./proc/3388/task/3388/net’: Invalid argument
find: ‘./proc/3388/net’: Invalid argument
./usr/lib/x86_64-linux-gnu/libncursesw.so
./usr/lib/x86_64-linux-gnu/libncursesw.so.6.2
./usr/lib/x86_64-linux-gnu/libncursesw.so.6
find: ‘./run/user/1000/doc’: Permission denied
find: ‘./run/user/1000/gvfs’: Permission denied
./snap/core/10126/lib/x86_64-linux-gnu/libncursesw.so.5
./snap/core/10126/lib/x86_64-linux-gnu/libncursesw.so.5.9
./snap/core/10185/lib/x86_64-linux-gnu/libncursesw.so.5
./snap/core/10185/lib/x86_64-linux-gnu/libncursesw.so.5.9
./snap/core18/1885/lib/x86_64-linux-gnu/libncursesw.so.5
./snap/core18/1885/lib/x86_64-linux-gnu/libncursesw.so.5.9
./snap/core18/1932/lib/x86_64-linux-gnu/libncursesw.so.5
./snap/core18/1932/lib/x86_64-linux-gnu/libncursesw.so.5.9
$ ls -lsa snap/core/10126/lib/x86_64-linux-gnu/libncursesw.so.5
0 lrwxrwxrwx 1 root root 18 feb 19 2016 snap/core/10126/lib/x86_64-linux-gnu/libncursesw.so.5 -> libncursesw.so.5.9
$ ls -lsa snap/core/10126/lib/x86_64-linux-gnu/libncursesw.so.5.9
187 -rw-r--r-- 1 root root 191464 feb 19 2016 snap/core/10126/lib/x86_64-linux-gnu/libncursesw.so.5.9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using ubuntu 20.04. I ran:
sudo apt install -y libncursesw5
Worked like a charm after that.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using ubuntu 20.04. I ran:
sudo apt install -y libncursesw5
Worked like a charm after that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @SThor8,
Hope this message find you well and good to know that it is working now, we would be closing the thread. If you have further queries, Please do post a response in the next 15 days.
After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.
Warm Regards
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page