[CentOS] Broken ncurses symlinks

Thu Nov 16 00:21:15 UTC 2006
Jim Perrin <jperrin at gmail.com>

>
> I just did a fresh install of Centos, and the links are still broken i tried

I would venture to guess that your method of determining the symlink's
status is incorrect. That or you're using a rebuild of centos that is
horribly broken in some fashion.

I have done 2 installs today, and I can assure you that ncurses and
ncurses-devel work quite well.

> But the packages are still broken.

I doubt this very much.
>From the console, run 'rpm -V ncurses'
if the above command returns with no output, then the rpm is installed
properly and all symlinks are intact.

Below is some output from my system to show you what I mean:

[jperrin at insanity lib]$ rpm -V ncurses
[jperrin at insanity lib]$
[jperrin at insanity lib]$ ll libncurses*
-rw-r--r--  1 root root  409138 Feb 21  2005 libncurses.a
-rwxr-xr-x  1 root root  109760 Feb 21  2005 libncurses++.a
-rw-r--r--  1 root root  513792 Feb 21  2005 libncurses_g.a
lrwxrwxrwx  1 root root      15 Nov  3  2005 libncurses.so -> libncurses.so.5
lrwxrwxrwx  1 root root      17 Nov  3  2005 libncurses.so.5 ->
libncurses.so.5.4
-rwxr-xr-x  1 root root  879963 Feb 21  2005 libncurses.so.5.4
-rwxr-xr-x  1 root root  109760 Feb 21  2005 libncurses++w.a
-rw-r--r--  1 root root  467576 Feb 21  2005 libncursesw.a
-rw-r--r--  1 root root  580634 Feb 21  2005 libncursesw_g.a
lrwxrwxrwx  1 root root      16 Nov  3  2005 libncursesw.so -> libncursesw.so.5
lrwxrwxrwx  1 root root      18 Nov  3  2005 libncursesw.so.5 ->
libncursesw.so.5.4
-rwxr-xr-x  1 root root 1027957 Feb 21  2005 libncursesw.so.5.4
[jperrin at insanity lib]$ sudo rm -i libncurses.so
rm: remove symbolic link `libncurses.so'? y
[jperrin at insanity lib]$ rpm -V ncurses
missing     /usr/lib/libncurses.so
[jperrin at insanity lib]$

Based on your previous statement it would seem that your ncurses
packages are fine.

<SNIP previous comment since threading this message is pointless>
 Thanks for your response attached are the requested output.  There
was no output from "rpm -V ncurses" and "rpm -V ncurses-devel"
</SNIP>


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell