A
A
AlizonJohn2018-05-12 15:01:06
linux
AlizonJohn, 2018-05-12 15:01:06

Openwrt - problems after mounting sshfs - how to link to a library?

Hello! I'm a newbie, recently started to deal with Linux. The problem is this - I mounted a folder on the VPS to the file system of the router (the address of this folder in the router is /mnt/vps ) To check, I installed the 'screen' package there. Everything is good here, everything was installed in this folder, folders were created
/mnt/vps/usr/sbin
/mnt/vps/usr/lib
/mnt/vps/usr/share
But when you start screen, an error occurs

/mnt/vps/usr/sbin/screen: can't load library 'libncurses.so.5'

That is, the system cannot find the libncurses.so.5 library, because it was installed in /mnt/vps/usr/lib , and by default it should have been installed in /usr/lib. The question is - how can I tell the system that this library is stored elsewhere?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2018-05-12
@pfg21

Softlink /usr/lib/libncurses.so.5 which will point to /mnt/vps/usr/lib/libncurses.so.5

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question