Re: HEADS UP: /bin and /sbin are now dynamically linked

From: masta <masta_at_wifibsd.org>
Date: Sun, 16 Nov 2003 17:11:03 -0600 (CST)
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
Received on Sun Nov 16 2003 - 14:11:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC