* Re: [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts
@ 2011-11-16 22:43 99% ` Allan Gottlieb
0 siblings, 0 replies; 1+ results
From: Allan Gottlieb @ 2011-11-16 22:43 UTC (permalink / raw
To: gentoo-user
On Wed, Nov 16 2011, Allan Gottlieb wrote:
> I am reinstalling gentoo on a Dell inspiron 6400 laptop
> I am (again) using lvm2.
>
> I just built the kernel and then (following the lvm2 guide) tried
>
> emerge lvm2
>
> This required a build of help2man, which failed with
>
>>>> Configuring source in /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
> ./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
> checking for perl... perl
> checking for module Locale::gettext... yes
> checking for msgfmt... /usr/bin/msgfmt
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
> checking for library containing dlsym... no
> checking for library containing bindtextdomain... none required
> configure: error: dlsym() required
>
> !!! Please attach the following file when seeking support:
> !!! /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log
I thought that instead of mounting /dev/vg/usr on /usr
I would mount it at /mnt/usr and have /usr a symlink to /mnt/usr
(Similarly for opt et al)
This worked for a while but
/usr/lib/libdl.so is a symlink to ../../lib64/libdl.so.2
and the symlink uses physical not logical interpretation of ..
Hence /usr/lib/../.. is /mnt instead of /
oops.
allan
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-11-16 20:15 [gentoo-user] trouble installing help2man on new gentoo box Allan Gottlieb
2011-11-16 22:43 99% ` [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts Allan Gottlieb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox