Midnight Commander problem

Who doesn't love third-party apps? Get together and talk about them here.

Moderator: Lillian.W@AST

Post Reply
AS6404T user
Posts: 55
youtube meble na wymiar Warszawa
Joined: Fri Nov 08, 2019 11:30 pm

Midnight Commander problem

Post by AS6404T user »

There doesn't seem to be a subforum for the Midnight Commander app, so I put my question here.

I installed version 1.0.0.r1 from App Central. When I type "mc" in the terminal, I get the following error message:

mc: /usr/builtin/lib/libncurses.so.5: no version information available (required by mc)
mc: /lib/libtinfo.so.5: no version information available (required by mc)
Error opening terminal: xterm-256color.

However, in /usr/builtin/lib I find this:

lrwxrwxrwx 1 root root 15 Oct 28 18:00 libncurses.so -> libncurses.so.5
lrwxrwxrwx 1 root root 17 Oct 28 18:00 libncurses.so.5 -> libncurses.so.5.9
-rwxr-xr-x 1 root root 135384 Oct 29 09:25 libncurses.so.5.9

This is on an AS6404T running ADM 3.4.4.RAT2
user2504
Posts: 1
Joined: Tue Sep 06, 2022 1:09 am
Location: Germany

Re: Midnight Commander problem

Post by user2504 »

Hi, you need to Install Entware from AppCentral https://www.asustor.com/app_central/app_detail?id=850
and using CLI you can install all requested library:

opkg update
opkg upgrade
opkg list libncurses*
opkg install libncurses
opkg install libncurses-dev
opkg install libncursesw
opkg install mc
mc

Code: Select all

user@ASUSTOR:/volume1/home/user $ opkg update
user@ASUSTOR:/volume1/home/user $ opkg upgrade
Downloading http://bin.entware.net/x64-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware

user@ASUSTOR:/volume1/home/user $ opkg list libncurses*
libncurses - 6.3-1a - Terminal handling library
libncurses-dev - 6.3-1a - Development files for the ncurses library
libncursesw - 6.3-1a - Terminal handling library (Unicode)

user@ASUSTOR:/volume1/home/user $ opkg info libncurses
Package: libncurses
Version: 6.3-1a
Depends: libc, libssp, librt, libpthread, libncursesw
Status: unknown ok not-installed
Section: libs
Architecture: x64-3.2
Size: 916
Filename: libncurses_6.3-1a_x64-3.2.ipk
Description: Terminal handling library

user@ASUSTOR:/volume1/home/user $ opkg install libncurses
Installing libncurses (6.3-1a) to root...
Downloading http://bin.entware.net/x64-k3.2/libncurses_6.3-1a_x64-3.2.ipk
Configuring libncurses.
user@ASUSTOR:/volume1/home/user $ opkg install libncurses-dev
Installing libncurses-dev (6.3-1a) to root...
Downloading http://bin.entware.net/x64-k3.2/libncurses-dev_6.3-1a_x64-3.2.ipk
Configuring libncurses-dev.
user@ASUSTOR:/volume1/home/user $ opkg install libncursesw
Package libncursesw (6.3-1a) installed in root is up to date.
user@ASUSTOR:/volume1/home/user $ mc
Post Reply

Return to “Developer's Corner”