[PLUG] Library files and soft links

Rich Shepard rshepard at appl-ecosys.com
Tue Sep 30 09:07:02 UTC 2003


On Tue, 30 Sep 2003, Mike De La Mater wrote:

> I'd love to help out, Rich, but are those distro dependant?

Mike,

  I doubt that it's dependent on the distribution (which is RH 7.3 on this
box). I believe that the library name with the longest string is the "real"
file and all the shorter ones are symlinks. Here's what I have:

[root at salmo /usr/lib]# ll libcups*
-r--r--r--    1 root     root       853680 May 27 10:56 libcups.a
-r--r--r--    1 root     root       136522 Feb 14  2002 libcups.a.O
lrwxrwxrwx    1 root     root           12 Jun 14 07:14 libcups.so -> libcups.so.2*
-r-xr-xr-x    1 root     root      1246408 May 27 10:56 libcups.so.2*
-r-xr-xr-x    1 root     root       800916 Feb 20  2002 libcups.so.2.O*
-rwxr-xr-x    1 root     root        99912 Mar  9  2003 libcups.so.2.saved*
lrwxrwxrwx    1 root     root           14 Mar  9  2003 libcups.so.O -> libcups.so.2.O*
-rwxr-xr-x    1 root     root       319913 Apr 16  2002 libcupsdconf-gcc2.96.so*
-rwxr-xr-x    1 root     root         1170 Apr 16  2002 libcupsdconf.la*
lrwxrwxrwx    1 root     root           23 Sep  4  2002 libcupsdconf.so -> libcupsdconf-gcc2.96.so*
-r--r--r--    1 root     root       519154 May 27 10:56 libcupsimage.a
-rwxr-xr-x    1 root     root        95078 Jun 13 11:04 libcupsimage.a.O*
lrwxrwxrwx    1 root     root           17 Jun 14 07:14 libcupsimage.so -> libcupsimage.so.2*
-r-xr-xr-x    1 root     root      1238036 May 27 10:56 libcupsimage.so.2*
-rwxr-xr-x    1 root     root        68468 Apr 17  2002 libcupsimage.so.2.O*
lrwxrwxrwx    1 root     root           19 Mar  6  2003 libcupsimage.so.O -> libcupsimage.so.2.O*

  So, I want to confirm that libcups.so.2 is the real file and
libcups.so.2.O should be a symlink, not an 800K file. Similarly with
libcupsimage.so.2.O. But, before I step on my toes and trip myself up I want
to confirm this.

Thanks,

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
                         http://www.appl-ecosys.com/




More information about the PLUG mailing list