[lfs-support] /usr/lib/libstdc++.la getting trashed

Bruce Dubbs bruce.dubbs at gmail.com
Mon Sep 3 09:41:55 PDT 2012


Ken Moffat wrote:

>   I know that I've got problems that are specific to my scripts (e.g.
> automake tests fail in chroot), so I need to ask : has anyone else
> ever seen this sort of error, or am I out on my own ?

No I haven't.  In my latest build I have:

$ cd /mnt/lfs/
$ ls -l usr/lib/libstd*
-rw-r--r-- 1 root root 2851280 Sep  2 01:40 usr/lib/libstdc++.a
-rwxr-xr-x 1 root root     959 Sep  1 23:26 usr/lib/libstdc++.la
lrwxrwxrwx 1 root root      19 Sep  1 23:26 usr/lib/libstdc++.so -> 
libstdc++.so.6.0.17
lrwxrwxrwx 1 root root      19 Sep  1 23:26 usr/lib/libstdc++.so.6 -> 
libstdc++.so.6.0.17
-rwxr-xr-x 1 root root 1260202 Sep  2 01:40 usr/lib/libstdc++.so.6.0.17

Once those files are there, I don't know of anything that would alter or 
remove them.

The only automake failure I have is due to not having python installed.

It might be an interesting experiment if you have a zero length .la file 
to just delete it and see if the error still occurs.

Personally I've never seen the purpose of libtool or .la files.

   -- Bruce



More information about the lfs-support mailing list