Le 17/01/2013 19:26, Israel Silberg a écrit :
>
>
> On Thu, Jan 17, 2013 at 3:31 PM, Pierre Labastie 
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Le 17/01/2013 13:50, Israel Silberg a écrit :
>     >
>     > root:/sources/psmisc-22.19# ls -l /lib/*curses*
>     > lrwxrwxrwx 1 root root     18 Jan 17 08:31 /lib/libncursesw.so.5 ->
>     > libncursesw.so.5.9
>     > -rwxr-xr-x 1 root root 394184 Jan 17 08:31 /lib/libncursesw.so.5.9
>     > root:/sources/psmisc-22.19# ls -l /usr/lib/*curses*
>     > lrwxrwxrwx 1 root root     12 Jan 17 08:39 /usr/lib/libcurses.a ->
>     > libncurses.a
>     > lrwxrwxrwx 1 root root     13 Jan 17 08:38 /usr/lib/libcurses.so ->
>     > libncurses.so
>     > lrwxrwxrwx 1 root root     13 Jan 17 08:38 /usr/lib/libcursesw.a ->
>     > libncursesw.a
>     > -rw-r--r-- 1 root root     18 Jan 17 08:37 /usr/lib/libcursesw.so
>     > lrwxrwxrwx 1 root root     15 Jan 17 08:35
>     /usr/lib/libncurses++.a ->
>     > libncurses++w.a
>     > -rw-r--r-- 1 root root 131800 Jan 17 08:31 /usr/lib/libncurses++w.a
>     > lrwxrwxrwx 1 root root     13 Jan 17 08:35 /usr/lib/libncurses.a ->
>     > libncursesw.a
>     > -rw-r--r-- 1 root root     17 Jan 17 08:35 /usr/lib/libncurses.so
>     > lrwxrwxrwx 1 root root     17 Jan 17 08:42
>     /usr/lib/libncurses.so.5 ->
>     > libncurses.so.5.9
>     > -rwxr-xr-x 1 root root 328441 Jan 17 08:42
>     /usr/lib/libncurses.so.5.9
>     > -rw-r--r-- 1 root root 554100 Jan 17 08:31 /usr/lib/libncursesw.a
>     > lrwxrwxrwx 1 root root     26 Jan 17 08:32
>     /usr/lib/libncursesw.so ->
>     > ../../lib/libncursesw.so.5
>     >
>     >
>     Adding to my previous message:
>     It seems that the libraries in /lib are older than the same
>     libraries in
>     /usr/lib. It looks like you rebuilt the package or you typed "make
>     install" again after finishing the files moving and linking.
>
>     I am not sure what the consequences may be, but I would try
>     something like
>     rm /lib/*curses* /usr/lib/{*curses*, libform*, libpanel*, libmenu*}
>     and build ncurses again.
>
>     Good luck
>     Pierre
>     --
>     http://linuxfromscratch.org/mailman/listinfo/lfs-support
>     FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>     Unsubscribe: See the above information page
>
>
> Hi Pierre,
> I did the cat from the first answer, and got for the second file a 
> reply that looks like a binary file.
That shouldn't happen. The binary is removed by:

rm -vf                     /usr/lib/libcursesw.so
and then replaced by a text file:
echo "INPUT(-lncursesw)">  /usr/lib/libcursesw.so

notice that there is no "n" in the name of that file.

> Aout the timing of the files, I complied the package at 8:31 and the 
> rest are around 8:40-42 because I'm doing the LFS beside other things 
> so it takes me a few minutes to see that a step is finished and to 
> proceed to the next step.
Actually, I just realize that I made a mistake about the filenames 
(that's easy, with all the variations). The files installed at 8:42 have 
no "w" at the end.
But I think they shouldn't be there. I do not have them. You can try to 
remove them and configure psmisc again. But something is wrong with 
ncurses and I advise you to rebuild it from the beginning. Then 
util-linux too, because it might have been linked to the wrong library.

Regards
Pierre


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to