FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-16-2011, 09:43 PM
Allan Gottlieb
 
Default trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts

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
 
Old 11-16-2011, 10:09 PM
Michael Mol
 
Default trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts

Rebind mount?

On Nov 16, 2011 5:45 PM, "Allan Gottlieb" <gottlieb@nyu.edu> wrote:
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
 
Old 11-17-2011, 01:09 AM
Allan Gottlieb
 
Default trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts

On Wed, Nov 16 2011, Michael Mol wrote:

> Rebind mount?

I was thinking of reading the details of bind mounting, but decided I
spent/wasted enough time trying to have a "clean" system with all
mounting at /mnt. If your suggestion meant that usr would be mounted at
both / and /mnt, I don't see that as any cleaner than having it just at /.

If the purpose was to "document" all the mounts by having them at /mnt,
I could do that with a symlink

ln -s /usr /mnt/usr

I still feel it is somehow "cleaner" to have all mount points be
in /mnt, but am cutting my losses.

thanks for the suggestion.
allan

> On Nov 16, 2011 5:45 PM, "Allan Gottlieb" <gottlieb@nyu.edu> wrote:
>
>> 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
>>
>>
 

Thread Tools




All times are GMT. The time now is 01:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org