Problem with ncurses-6.0-3?

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Problem with ncurses-6.0-3?

Postby amrbekhit » Mon Sep 28, 2015 10:05 pm

Hello all,

I recently installed Arch Linux on my Raspberry Pi 2. I then tried to use wifi-menu to connect to the network and needed to do an offline install of dialog, wpa_supplicant and libnl. wifi-menu then complained about not finding libncursesw.so.6 and cannot open shared object. So I then went ahead and did an offline install of ncurses-6.0-3-armv7h.pkg.tar.xz.

I then tried to run wifi-menu again, but this time it couldn't find libncurses.so.5! It seems that when ncurses-6 is installed, it removes v5 and doesn't create any symbolic links so that legacy programs can still use the library.

In order to finally get it to work, I reflashed my SD card, made a backup of the files that matched /usr/lib/libncurses*, installed ncurses-6.0-3 and then restored the backed up libncurses v5 files to /usr/lib. This allowed me to get wifi-menu working. Only caveat was that when I ran a pacman -Syu, there was the occasional warning about libncurses.so.5 not being a symbolic link.

Is there something wrong with the ncurses-6.0-3 package, which is causing it to remove ncurses v5 without leaving any symbolic links to the current library?
amrbekhit
 
Posts: 2
Joined: Wed Nov 26, 2014 5:04 pm

Re: Problem with ncurses-6.0-3?

Postby gripped » Tue Sep 29, 2015 7:28 am

You were probably just unlucky with timings.
I'm guessing the rootfs you downloaded was still using packages linked to v5 while the packages you installed offline were linked to v6.

I saw the a few of the same warnings you mention, and they did concern me a little, while running pacman -Syu. But nothing broke and they've gone now it seems.
gripped
 
Posts: 22
Joined: Sat Nov 30, 2013 1:28 pm

Re: Problem with ncurses-6.0-3?

Postby eatmorepets » Fri Oct 02, 2015 8:34 pm

Killed my home-server as well. Was quite annoying to fix, since I couldn't login anymore with bash broken. No ssh, no sftp, but everything else working. Apparently fixed by now.
eatmorepets
 
Posts: 6
Joined: Mon Sep 01, 2014 12:45 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 12 guests