Date: Sun, 7 Sep 2003 23:02:11 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: masta@yazzy.org Cc: current@freebsd.org Subject: Re: problems with_dynamicroot =yes/noshared=no ? Message-ID: <20030907200211.GB56123@sunbay.com> In-Reply-To: <19588.12.238.113.137.1062963171.squirrel@mail.yazzy.org> References: <19588.12.238.113.137.1062963171.squirrel@mail.yazzy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 07, 2003 at 09:32:51PM +0200, masta@yazzy.org wrote: > Hello friends, >=20 > I'm seeing a weird issue with my recent build, here goes: >=20 > shiba# ls -ld /lib > drwxr-xr-x 2 root wheel 1024 Sep 7 01:53 /lib > shiba# ls -lh /lib/libc.so.5 > -r--r--r-- 1 root wheel 862K Sep 7 01:50 /lib/libc.so.5 > shiba# ls -lh /usr/lib/libc.so.5 > -r--r--r-- 1 root wheel 875K Jul 6 19:53 /usr/lib/libc.so.5 > shiba# ldd /sbin/init > /sbin/init: > libutil.so.3 =3D> /usr/lib/libutil.so.3 (0x28076000) > libcrypt.so.2 =3D> /usr/lib/libcrypt.so.2 (0x28082000) > libc.so.5 =3D> /usr/lib/libc.so.5 (0x2809b000) >=20 > Nothing in my /bin or /sbin is linked to anything in /lib. =3D( > My environment is a jail where I use NOSHARED=3DNO, and WITH_DYNAMICROOT. > At first I though my init was linking to stuff in /usr/lib for > compatibility, but libc is not a symbolic link, so this is not a > compatability-link issue. My working theory thus far is that maybe > NOSHARED=3DNO might be interfearing with WITH_DYNAMICROOT, but I'm not su= re > how to find out if that is true/false. Anybody know what is going on? >=20 Most probably, you forgot to upgrade your /etc/rc.d/ldconfig. Check with ``ldconfig -r'', the ``search directories: '' should start with ``/lib:/usr/lib''. Also, the latest bsd.lib.mk,v 1.154 takes care of removing stale /usr/lib/libfoo.so.X libraries. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/W47DUkv4P6juNwoRAt/IAJ9I7UFNRJoYLUZQNg7n0LuA/pKfTQCfR2U0 esWiJZNH42BUj+sHewtLHbM= =U6LP -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030907200211.GB56123>