YaST no longer works on SLES 10

YaST no longer works on one of our SUSE Linux Enterprise Server 10, When I issue �Yast� I get the following error messages
"warning: the ncurses frontend is installed but does not work"
"You need to install yast2-ncurses to use the YaST2 text mode interface"
Can you help? please

I believe the problem is in the followin piece of code :

-# use text mode if DISPLAY is not set or no qt plugin is installed
-if [ -z "$DISPLAY" ] || ! check_qt ; then
+if [ "$SELECTED_GUI" = "ncurses" ]; then
if check_ncurses ; then
TTY=`/usr/bin/tty`
# on console, start yast in UTF-8 locale (only on a 'local' console)
@@ -186,10 +217,11 @@
/usr/bin/test -x /bin/unicode_stop && /bin/unicode_stop
fi
else
- echo "You need to install yast2-ncurses to use the YaST2 text mode interface"
+ echo "You need to install yast2-ncurses to use the YaST2 text mode interface" >&2
exit 1
fi

This link may be a solution for you.

Sorry, this is a very old topic, but I had this same issue today with the same errors and had a hard time finding a resolution.

I ended up running "ldconfig -v" and this fixed it for me. Somewhere in the library stack something probably got messed up on your box. By running "ldconfig -v", it rebuilds those stacks and, for me, fixed yast.

Here's the URL where I found the info:
YaST no longer works on SLES 10 - FixUnix - Unix Linux Forum