YaST2 fails to start, not able to locate ncurses / qt libraries

This document (7006751) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Real Time

Situation

Running yast (ncurses based) or yast2 (qt based) from a shell fails with
 
warning: the qt frontend is installed but does not work
warning: the ncurses frontend is installed but does not work
You need to install yast2-ncurses to use the YaST2 text mode interface

Tracing the issue using "sh -x yast" shows it tries to load /usr/lib64/YaST2/plugin/libpy2qt.so.2 and /usr/lib64/YaST2/plugin/libpy2ncurses.so.2
 which are both available on the system.

Resolution

This issue may be encountered if /etc/ld.so.cache is outdated. In this case yast cannot access the database for shared libraries on the system anymore and fails to start. Refreshing the file using the ldconfig command is recommended.

More information about /etc/ld.so.conf, /etc/ld.so.cache and ldconfig is available via "man 8 ldconfig".

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7006751
  • Creation Date: 30-Aug-2010
  • Modified Date:16-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Real Time
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center