public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts
Date: Wed, 16 Nov 2011 17:43:16 -0500	[thread overview]
Message-ID: <yu9y5vf4rjv.fsf@nyu.edu> (raw)
In-Reply-To: <yu97h2z7rj0.fsf@nyu.edu> (Allan Gottlieb's message of "Wed, 16 Nov 2011 15:15:31 -0500")

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



  reply	other threads:[~2011-11-16 22:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 20:15 [gentoo-user] trouble installing help2man on new gentoo box Allan Gottlieb
2011-11-16 22:43 ` Allan Gottlieb [this message]
2011-11-16 23:09   ` [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts Michael Mol
2011-11-17  2:09     ` Allan Gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu9y5vf4rjv.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox