[PLUG] Cleaning Up Multiple Copies of a Library

Ken Stephens kens at cad2cam.com
Tue Jan 20 20:14:37 UTC 2015


Rich Shepard wrote:
>     Somehow, libncurses is present in two copies, with different dates and
> file sizes. This may be the reason I'm having problems using unixODBC so I
> want to clean this up. Did not find the file containing libncurses; it may
> well be in one of the base Slackware files, such as aaa_libs.
>
>     Here are the two directories' contents:
>
> ll /lib/libncurses*
> lrwxrwxrwx 1 root root     17 Mar  9  2014 /lib/libncurses.so.5 ->
> libncurses.so.5.9*
> -rwxr-xr-x 1 root root 313416 May  7  2013 /lib/libncurses.so.5.9*
> lrwxrwxrwx 1 root root     18 Mar  9  2014 /lib/libncursesw.so.5 ->
> - libncursesw.so.5.9*
> -rwxr-xr-x 1 root root 395048 May  7  2013 /lib/libncursesw.so.5.9*
>
>     Need to remove the 2013 files while leaving the 2014 files in place.
>
> and
>
> ll /usr/lib/libncurses*
> -rw-r--r-- 1 root root 414822 May  7  2013 libncurses++.a
> -rw-r--r-- 1 root root 416350 May  7  2013 libncurses++w.a
> -rw-r--r-- 1 root root 488966 May  7  2013 libncurses.a
> lrwxrwxrwx 1 root root     20 Mar  9  2014 libncurses.so ->
> - /lib/libncurses.so.5*
> lrwxrwxrwx 1 root root     12 Nov  7  2010 libncurses.so.5 -> libcurses.so*
> -rw-r--r-- 1 root root 592644 May  7  2013 libncursesw.a
> lrwxrwxrwx 1 root root     21 Mar  9  2014 libncursesw.so ->
> - /lib/libncursesw.so.5*
> lrwxrwxrwx 1 root root     13 Nov  7  2010 libncursesw.so.5 ->
> libcursesw.so*
>
>     Need to remove the 2010 and 2013 copies while leaving the 2014 copies in
> place.
>
>     Don't know if the solution is distribution-specific or -agnostic.
>
> TIA,
>
> Rich
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
Rich,

Did you check if there is a /lib/libncurses.so.5 ?  The copy in this 
directory points to libncurses.so.

Ken



More information about the PLUG mailing list