HEADS UP: /bin and /sbin are now dynamically linked
masta
masta at wifibsd.org
Sun Nov 16 15:11:43 PST 2003
Hi
Darren Pilgrim wrote:
>
> What was done to programs like /bin/sh, /sbin/init and /sbin/fsck to
> make them work without access to /usr/lib?
All the libs required for /bin or /sbin have moved to /lib. Like this:
> cd /bin
> file sh
sh: ELF 64-bit MSB executable, SPARC V9, version 1 (FreeBSD), for FreeBSD
5.0.1, dynamically linked (uses shared libs), stripped
> ldd sh
sh:
libedit.so.4 => /lib/libedit.so.4 (0x40348000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40462000)
libc.so.5 => /lib/libc.so.5 (0x405c4000)
Notice that sh is dynamicly linked to stuff in /lib.
__ __ _
| \/ | __ _ ___| |_ __ _
| |\/| |/ _` / __| __/ _` |
| | | | (_| \__ \ || (_| |
|_| |_|\__,_|___/\__\__,_|
unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep
masta at wifibsd.org
http://wifibsd.org
More information about the freebsd-current
mailing list