[PLUG] Library files and soft links
Kyle Accardi
sandbox at pacifier.com
Tue Sep 30 11:34:01 UTC 2003
Rich Shepard wrote:
> Will someone please tell me which of the /usr/lib/libcups and
> /usr/lib/libcupsimage are the real files and which are the soft links?
> That's become messed up here and I'd like to correct it properly on the
> first try.
If you installed an rpm, you can do
$ rpm -q --whatprovides /usr/lib/libcups.so.2
mine returns,
cups-libs-1.1.14-15.4
then,
$ rpm -qilv cups-libs
<snip>
-rwxr-xr-x 1 root root 111655 May 13 03:06 /usr/lib/libcups.so.2
-rwxr-xr-x 1 root root 75802 May 13 03:06
/usr/lib/libcupsimage.so.2
but there is one softlink libcupsdconf.so
so,
$ rpm -q --whatprovides /usr/lib/libcupsdconf.so
kdelibs-3.0.5a-0.73.2
and,
$ rpm -qilv kdelibs |grep libcups
-rwxr-xr-x 1 root root 274709 Jul 14 07:57
/usr/lib/libcupsdconf-gcc2.96.so
-rwxr-xr-x 1 root root 1170 Jul 14 07:57
/usr/lib/libcupsdconf.la
lrwxrwxrwx 1 root root 23 Jul 14 08:15
/usr/lib/libcupsdconf.so -> libcupsdconf-gcc2.96.so
Remember you need to use full path/filename for the -q switch.
Cheers,
Kyle Accardi
More information about the PLUG
mailing list