> Pierre Labastie <pierre.labastie <at> neuf.fr> writes:
> Le 01/05/2013 15:03, سید احمد حسینی a écrit :
> > root:/sources/coreutils-8.21/src# ldd ./expr
> > linux-vdso.so.1 (0x00007fffad9a9000)
> > *libgmp.so.10 => not found*
> 
> > how can i fix it ?
> 
> I'd like to have something to tell you, but I do not understand
> how it is possible that libgmp.so.10 is found by cc1 and not by expr...
> 
> What I would try is the following:
> Start over again (remove the directory coreutils-8.21,
> tar xf coreutils-8.21.tar.xz, cd, patch, configure).
> Then:
> # make V=1 |& tee coreutils.log
> Then:
> in coreutils.log, look for the lines where expr is compiled.
> Please send us those lines.
> 
> Pierre
> 


EHLO guys

I am having the same issue, i did execute:

# make V=1 |& tee coreutils.log

and this is what i got at coreutils.log:

gcc -std=gnu99   -g -O2 -Wl,--as-needed  -o src/expand src/expand.o 
src/libver.a lib/libcoreutils.a  lib/libcoreutils.a
depbase=`echo src/expr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99  -I. -I./lib  -Ilib -I./lib -Isrc -I./src    -g -O2 -MT 
src/expr.o -MD -MP -MF $depbase.Tpo -c -o src/expr.o src/expr.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -std=gnu99   -g -O2 -Wl,--as-needed  -o src/expr src/expr.o src/libver.a 
lib/libcoreutils.a  lib/libcoreutils.a -lgmp
depbase=`echo src/factor.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\

Another thing to notice is, the make command stop because of an error 

help2man: can't get '--help' info from man/expr.td/

what i did was touch the files  "man/factor.1" and  "man/expr.1" and the 
make ends happyly. But after the instalation "expr" and "bzip". 

Any helps?

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to