Bug 11566 - ldconfig doesn't do the right thing
Summary: ldconfig doesn't do the right thing
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: glibc
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 11928
TreeView+ depends on / blocked
 
Reported: 2000-05-22 01:41 UTC by Jonathan Kamens
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-06-12 20:31:15 UTC
Embargoed:


Attachments (Terms of Use)

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.


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