Le 01/05/2013 11:50, سید احمد حسینی a écrit : > ./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:
On my system, libgmp.so.10 is in /usr/lib. It is a symlink to libgmp.so.10.1.1. Since it is in /usr/lib, it should be found. It is amazing that you have not had a problem before, because libgmp.so.10 is required by the gcc compiler, too... Could you try (while being chrooted): # find /usr -name cc1 That should return a path to cc1. Then type # ldd <path_to_cc1> where <path_to_cc1> is the path returned above. Compare with the output of (while being in the src directory): # ldd ./expr Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page