Bug 11566

Summary: ldconfig doesn't do the right thing
Product: [Retired] Red Hat Raw Hide Reporter: Jonathan Kamens <jik>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-12 20:31:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 11928    

Description Jonathan Kamens 2000-05-22 01:41:51 UTC
ldconfig in glibc-2.1.90-11 is supposed to create symbolic links pointing
at the most recent version of a library, isn't it?  It doesn't appear to be
doing that:

# ls -l /usr/lib/libtclx* /usr/lib/libtkx*
-rw-r--r--    1 root     root       199290 Mar 18 18:19
/usr/lib/libtclx8.2.a
-rwxr-xr-x    1 root     root       160056 Mar 18 18:19
/usr/lib/libtclx8.2.so
-rw-r--r--    1 root     root         5370 Mar 18 18:19
/usr/lib/libtkx8.2.a
-rwxr-xr-x    1 root     root        10657 Mar 18 18:19
/usr/lib/libtkx8.2.so
# ldconfig
# ls -l /usr/lib/libtclx* /usr/lib/libtkx*
-rw-r--r--    1 root     root       199290 Mar 18 18:19
/usr/lib/libtclx8.2.a
-rwxr-xr-x    1 root     root       160056 Mar 18 18:19
/usr/lib/libtclx8.2.so
-rw-r--r--    1 root     root         5370 Mar 18 18:19
/usr/lib/libtkx8.2.a
-rwxr-xr-x    1 root     root        10657 Mar 18 18:19
/usr/lib/libtkx8.2.so

Why didn't it create /usr/lib/libtkx.8.so and /usr/lib/libtclx.8.so?

Comment 1 Hardy Mayer 2000-06-06 17:07:55 UTC
see also bug 11928 for cause and remedies.

Comment 2 Jakub Jelinek 2000-12-19 16:26:18 UTC
What symbolic link would you expect?
ldconfig creates a symlink with name coming from DSO's SONAME to DSO's real
filename. libtclx* nor libtkx* don't have any SONAME in its DYNAMIC sections.