Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2003 21:32:51 +0200 (CEST)
From:      <masta@yazzy.org>
To:        <current@freebsd.org>
Subject:   problems with_dynamicroot =yes/noshared=no ?
Message-ID:  <19588.12.238.113.137.1062963171.squirrel@mail.yazzy.org>

next in thread | raw e-mail | index | archive | help
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?

Thanks in advance,
-Jon (masta)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19588.12.238.113.137.1062963171.squirrel>