When trying to run a kommander program, it fails to load, and reports that it is unable to load libkommanderwidgets. Using strace, it looks like right at the beginning it opens it from the correct location (/usr/kde/3.3/lib/libkommanderwidgets.so.0), but where it gives the error it is only looking in /usr/lib. I got this problem both on x86 and amd64. If I copy it to /usr/lib, it loads fine. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Perhaps you've got a stale /usr/lib/libkommanderwidgets.la ?
Yes, there was a /usr/lib/libkommanderwidgets.la file. According to qpkg -f it did not belong to any package. I removed it and re-emerged kdewebdev, and everything works fine now. Thanks. Is this still a bug, since these .la files didn't get cleaned up properly, or should this just be closed? It seems like I remember some libtool or gcc upgrade requiring a script to be run to fix .la files. Would this have prevented the changed .la files from being cleaned up when a previous version of kdewebdev was unmerged? If so, is there any easy way to find other .la files that might have been similarly affected?
Exactly. I suppose you can just search around for .la files without the .so counterpart. There were also scripts in the forums to search for orphaned files, but I could be wrong... *** This bug has been marked as a duplicate of 71265 ***
*** Bug 98857 has been marked as a duplicate of this bug. ***