Unfortunate dynamic linking for everything

Dimitry Andric dimitry at andric.com
Sat Nov 22 08:03:22 PST 2003

On 2003-11-22 at 00:39:45 Tim Kientzle wrote:

> Right now, /sbin/init is statically linked.

Not here... I've built everything with WITH_DYNAMICROOT since the time
the option was introduced, and as such:

# file /sbin/init
/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped
# ldd /sbin/init
        libutil.so.3 => /lib/libutil.so.3 (0x28074000)
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x2807f000)
        libc.so.5 => /lib/libc.so.5 (0x28097000)

In fact, the only statically linked executable I can currently find in
my base system (= -CURRENT as of 2003-11-11) is /sbin/devd...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031122/f34a39e2/attachment.bin

More information about the freebsd-current mailing list