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