Subject: bin/5824: ldd quits with signal 11 if lib is not found
To: None <>
From: Mario Kemper <>
List: netbsd-bugs
Date: 07/23/1998 20:43:52
>Number:         5824
>Category:       bin
>Synopsis:       ldd quits with signal 11 if lib is not found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 23 11:50:00 1998
>Originator:     Mario Kemper
Mario Kemper
>Release:        NetBSD-current from 19.07.98
System: NetBSD bundy 1.3F NetBSD 1.3F (BUNDY) #2: Sun Jul 19 21:18:32 CEST 1998 magick@bundy:/usr/src/sys/arch/i386/compile/BUNDY i386

if ldd can't find a shared library for a given file, it exits with a signal 11
which is not very helpful.

Actually it seems to be a problem in as ldd only sets a few LD_ 
variables. (maybe category lib would be more appropriate?).

Example: /usr/local/bin/faxalter was linked against wich i 
deleted, as the package was updatet to

/usr/libexec/ faxalter: No such file or directory

magick@bundy:/usr/local/bin>ldd faxalter 
faxalter: signal 11

magick@bundy:/usr/local/bin>setenv LD_TRACE_LOADED_OBJECTS 1
Segmentation fault

delete a lib which somebin is linked against
ldd somebin 

Print out what is missing if thats possible. (Solaris prints an lib not found)