Bug 56549 - [patch] rtld.c - give more info on missing shared libraries
Summary: [patch] rtld.c - give more info on missing shared libraries
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 4.8-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Eikemeier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-07 04:50 UTC by edwin
Modified: 2004-06-11 10:08 UTC (History)
0 users

See Also:


Attachments
file.diff (458 bytes, patch)
2003-09-07 04:50 UTC, edwin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description edwin 2003-09-07 04:50:12 UTC
When you try to start a program with a missing library, this is the
error message you get:

    /usr/libexec/ld-elf.so.1: Shared object "libintl.so.4" not found

You can find out that it is missing by using ldd (and exactly which
other library it requires by running ldd with the patch in bin/37448).

But yes, life could be so much nicer if it would tell you who was
missing it:

    /usr/libexec/ld-elf.so.1: Shared object "libintl.so.4" not found, needed by "/usr/X11R6/lib/libgnomemm-1.2.so.10"

At least I know I have to fight with libgnomemm instead of with the
original program.

How-To-Repeat: 
See above
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2004-05-28 01:06:03 UTC
State Changed
From-To: open->patched

awaiting MFC 


Comment 2 Oliver Eikemeier freebsd_committer freebsd_triage 2004-05-28 01:06:03 UTC
Responsible Changed
From-To: freebsd-bugs->eik

Committed to -CURRENT
Comment 3 Oliver Eikemeier freebsd_committer freebsd_triage 2004-06-11 10:07:41 UTC
State Changed
From-To: patched->closed

Committed, thanks!