Bug 543 - libjpeg-6b-5 orphans file /usr/lib/libjpeg.so.62
libjpeg-6b-5 orphans file /usr/lib/libjpeg.so.62
Product: Red Hat Linux
Classification: Retired
Component: libjpeg (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1998-12-20 16:15 EST by Bourne, Jim
Modified: 2016-09-19 13:04 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1998-12-22 10:26:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bourne, Jim 1998-12-20 16:15:41 EST
Looking for the package that owned /usr/lib/libjpeg.so.62 I
found it to not belong to any package, although it does come
from libjpeg-6b-5.

Here is a session transcript:
cafe:bash# rm /usr/lib/libjpeg.so.62
rm: remove /usr/lib/libjpeg.so.62'? y
cafe:bash# rpm -U --force libjpeg-6b-5.i386.rpm
cafe:bash# ls -l /usr/lib/libjpeg.so.62*
lrwxrwxrwx   1 root     root           17 Dec 20 14:07
/usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
-rwxr-xr-x   1 root     root       136927 Jun  9  1998
cafe:bash# rpm -qf /usr/lib/libjpeg.so.62
file /usr/lib/libjpeg.so.62 is not owned by any package
Comment 1 Aleksey Nogin 1998-12-20 19:44:59 EST
I believe that is a normal behavior - symlink is not a part of the
RPM, but it is created by the ldconfig which is executed in the
postinstall script. If you want to know where the library came from,
you can always run rpm -qf on the library itself instead of the
Comment 2 Bourne, Jim 1998-12-20 21:07:59 EST
I tested this, and yes ldconfig does create the symlink.  However
other packages will have dependancies on that particular file, and the
package (libjpeg-6b-5) provides this file.

Perhaps the packages that have symlinks created by external programs
from the postinstall scripts should report that the symlinks are
included with the package?
Comment 3 Jeff Johnson 1998-12-22 10:26:59 EST
The symlink /usr/lib/libjpeg.so.62 is generated by running
/sbin/ldconfig in the %post step installing the rpm. There
is no obvious (to me) problem with having the link generated
rather than owned.
Comment 4 openshift-github-bot 2016-09-19 13:04:23 EDT
Commit pushed to master at https://github.com/openshift/origin-web-console

Improving consistency of .data-toolbar display...

across monitoring, events, and other resources pages, which also
resolves issue #543.

Note You need to log in before you can comment on or make changes to this bug.