SuSE Support Database

Title: ldconfig emits a warning

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

ldconfig emits a warning

Symptom:

During the execution of YaST the program ldconfig emits messages like the following : pre> /sbin/ldconfig: warning: canīt open /usr/X11R6/lib/liblm.so (no such file or directory) usw. or / and:

/sbin/ldconfig: 
 warning: canīt open /usr/lib/libgtk.so (no such file or directory) usw.

Cause:

ldconfig finds symbolic links when searching the library directories. Normally these point to dynamic libraries. However in the above mentioned case the real library is missing, so ldconfig can't open it.

There are several possible reasons why the library is missing :

  1. The library was accidently removed

  2. The libraries were uninstalled with YaST

  3. You have used the Live-CD. Then you have removed it from the drive without detaching it in YaST

Solution:

  1. You took the Live-CD knowingly out of the drive at boot-time in order to read in another CD. You can ignore the error-message in this case since all programs are available in the system that are necessary to access the CD. At the next boot-up you should put the Live-CD into the drive again.

  2. You don't want this behaviour. The erroneous links that were output by ldconfig should be erased. Login as root. There are two possible methods for the erasing of the files :

It is wise to call YaST again afterwards. Since you removed all erroneous links, ldconfig should emit no error-messages anymore

---

Keywords: LDCONFIG, CD, LIVE, YAST, WARNING, LIBS, SHARED, LIBRARIES, DYNAMIC LIBRARIES, SYMBOLIC LINKS

---

Categories: Configuration , Applications

---

Feedback welcome: Send Mail to feedback@suse.de (Please give the following subject: SDB-sw_ldconfig)

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-sw_ldconfig, Copyright SuSE GmbH, Nuremberg, Germany - Version: 03. Apr 1998
Impressum - Last generated: 24. Feb 1999 15:27:20 by maddin with sdb_gen 1.00.0