1 |
Rebind mount? |
2 |
On Nov 16, 2011 5:45 PM, "Allan Gottlieb" <gottlieb@×××.edu> wrote: |
3 |
|
4 |
> On Wed, Nov 16 2011, Allan Gottlieb wrote: |
5 |
> |
6 |
> > I am reinstalling gentoo on a Dell inspiron 6400 laptop |
7 |
> > I am (again) using lvm2. |
8 |
> > |
9 |
> > I just built the kernel and then (following the lvm2 guide) tried |
10 |
> > |
11 |
> > emerge lvm2 |
12 |
> > |
13 |
> > This required a build of help2man, which failed with |
14 |
> > |
15 |
> >>>> Configuring source in |
16 |
> /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ... |
17 |
> > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu |
18 |
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man |
19 |
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc |
20 |
> --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls |
21 |
> > checking for perl... perl |
22 |
> > checking for module Locale::gettext... yes |
23 |
> > checking for msgfmt... /usr/bin/msgfmt |
24 |
> > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc |
25 |
> > checking whether the C compiler works... yes |
26 |
> > checking for C compiler default output file name... a.out |
27 |
> > checking for suffix of executables... |
28 |
> > checking whether we are cross compiling... no |
29 |
> > checking for suffix of object files... o |
30 |
> > checking whether we are using the GNU C compiler... yes |
31 |
> > checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes |
32 |
> > checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none |
33 |
> needed |
34 |
> > checking for library containing dlsym... no |
35 |
> > checking for library containing bindtextdomain... none required |
36 |
> > configure: error: dlsym() required |
37 |
> > |
38 |
> > !!! Please attach the following file when seeking support: |
39 |
> > !!! |
40 |
> /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log |
41 |
> |
42 |
> I thought that instead of mounting /dev/vg/usr on /usr |
43 |
> I would mount it at /mnt/usr and have /usr a symlink to /mnt/usr |
44 |
> |
45 |
> (Similarly for opt et al) |
46 |
> |
47 |
> This worked for a while but |
48 |
> /usr/lib/libdl.so is a symlink to ../../lib64/libdl.so.2 |
49 |
> and the symlink uses physical not logical interpretation of .. |
50 |
> |
51 |
> Hence /usr/lib/../.. is /mnt instead of / |
52 |
> |
53 |
> oops. |
54 |
> |
55 |
> allan |
56 |
> |
57 |
> |