On Sun, Sep 07, 2003 at 09:32:51PM +0200, masta_at_yazzy.org wrote: > Hello friends, > > I'm seeing a weird issue with my recent build, here goes: > > 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 => /usr/lib/libutil.so.3 (0x28076000) > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28082000) > libc.so.5 => /usr/lib/libc.so.5 (0x2809b000) > > Nothing in my /bin or /sbin is linked to anything in /lib. =( > My environment is a jail where I use NOSHARED=NO, 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=NO might be interfearing with WITH_DYNAMICROOT, but I'm not sure > how to find out if that is true/false. Anybody know what is going on? > 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, -- Ruslan Ermilov Sysadmin and DBA, ru_at_sunbay.com Sunbay Software Ltd, ru_at_FreeBSD.org FreeBSD committer
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC