On Thu, 05 Dec 2013 18:08:56 +0000
lf...@cruziero.com (akhiezer) wrote:

> Sanity-checks:
> ---
> * your host-os (Slackware 14.0) is 64-bit (what does 'uname -a' show)?

x86_64 as expected.

> * _prior_ to your creation of the symlink that you note below, did 
>   '/usr/lib64/libgmp.la' exist in the host-os?

No, it doesn't, though /usr/lib/libmpfr.la does.
  
> * you mention in a later post, that it is a customised version of the
> host-os. At the time of getting the compile-fail below, did you have
> any of mpfr, mpc, gmp installed in the host-os? What do you get from:
> 
>   $ ls
> -latrF  /var/log/{packages,{removed_,}scripts}/{gmp,libmpc,mpfr}*

-rw-r--r-- 1 root root  986 Jul  4 16:41 packages/libmpc-0.8.2-x86_64-2
-rw-r--r-- 1 root root 1532 Jul  4 16:42 packages/mpfr-3.1.0-x86_64-1

-rwxr-xr-x 1 root root 180 Jul  4 16:41 scripts/libmpc-0.8.2-x86_64-2*
-rwxr-xr-x 1 root root 186 Jul  4 16:42 scripts/mpfr-3.1.0-x86_64-1*

Nothing was found in any of the removed_ directories because I
haven't uninstalled any libraries.
 
> * did you ever have any of mpfr, mpc, gmp installed in the host-os,
> and then uninstalled/moved/changed them at all; if so, by what
> methods?

Once I had enough software installed to make the package management
system work, I used it exclusively. But I clearly don't have libgmp
installed. This was very much an educational project and my policy was
to install only:

a) programs I knew I wanted
b) libraries, etc. that installed programs wouldn't work without. 

> * At the time of the build below, what was LD_LIBRARY_PATH ?

There wasn't one. I was working as the lfs user, strictly by the book,
and checked my environment periodically to ensure that it didn't include
anything but the specified variables.

In the book it says that these libraries "may not be included in your
host distribution", so why did it make a difference in my case?
-- 
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