Unfortunate dynamic linking for everything

boyd, rounin boyd at insultant.net
Thu Nov 20 15:26:39 PST 2003


From: "Dimitry Andric" <dimitry at andric.com>

    % sudo ldd /sbin/init
    /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)

    Yes, working fine here. What should the problem be?

the day /lib gets smashed.

you're building a house of cards.  once, if /etc/init and
/bin/sh and some other pieces where in place a smashed
file-system could be easily fixed.  now you have to have
3 shared libs and a viable /lib.

do you want systems that work?  or houses of cards?



More information about the freebsd-current mailing list