NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/37827: shared libs do not depend on

>Number:         37827
>Category:       lib
>Synopsis:       shared libs do not depend on
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 21 05:40:01 +0000 2008
>Originator:     David A. Holland
>Release:        NetBSD-current (as of 20080120)

The shared library images in base do not have an explicit dependency
(a DT_NEEDED entry, if I remember my elf correctly) on libc. This
severely restricts our future options for maintaining binary
compatibility and should be rectified as soon as possible, including
in release branches.


% ldd /lib/
% ldd /lib/
        -ltermcap.0 => /lib/



Add -lc to the link when building shared lib images. There are a
number of ways this could be arranged.

Home | Main Index | Thread Index | Old Index