./expr --help is :root:/sources/coreutils-8.21# cd src/root:/sources/coreutils-8.21/src# ./expr --help./expr: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory > Date: Tue, 30 Apr 2013 21:54:56 +0200 > From: pierre.labas...@neuf.fr > To: lfs-support@linuxfromscratch.org > Subject: Re: [lfs-support] 6.27. Coreutils-8.21 error > > Le 30/04/2013 21:21, Ken Moffat a écrit : > > On Tue, Apr 30, 2013 at 06:58:12PM +0200, Pierre Labastie wrote: > >> help2man is in the `man' directory in the coreutils-8.21 tree. > >> I think it is really used in that case (could be checked > >> with `make V=1'). > > > > Thanks, I'd overlooked that. I've learned something :) > > > > Ahmad, please ignore my previous response. > > > > man/help2man is a perl script, invoked from man/local.mk : > > > > ## Graceful degradation for systems lacking perl. > > if HAVE_PERL > > run_help2man = $(PERL) -- $(srcdir)/man/help2man > > else > > run_help2man = $(SHELL) $(srcdir)/man/dummy-man > > endif > > > > AFAICS, it runs against the compiled program (expr in this case) > > passing a flag of --help. The normal output [ GEN man/expr.1 ] > > hides that, which is why I don't see it in my logs. And because it > > was run, we know that some of perl is installed - actually, we know > > there is at least enough perl to get through the glibc build. > > > >> The only other possibility I can think of is a problem with the LANG or > >> LC_ALL variable being set to something different from > >> C or POSIX, since help2man uses the output of > >> `<command> --help'. But this should not happen in the chroot environement. > >> > >> Pierre > >> > > Possible. Looking at all of the *.po files in coreutils' po/ > > directory, I don't see any languages which look likely - Ahmad > > appears to be in a locale which uses an arabic script, none of the > > .po files seem appropriate. > > > Either way, I'm still surprised that it gets to 'expr' before it > > fails - there are about 26 man pages before tht which apparently > > didn't cause a problem. > > > > ĸen > > You are right : that rules out "locale" problems, and also anything related > to perl installation. > > Maybe it could be a good idea to try to run > expr --help, and see what the output is. > > try : > cd src > ./expr --help > > Pierre > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page