On Fri, Dec 30, 2011 at 12:10:29PM +0000, Andrew Benton wrote:
> On Fri, 30 Dec 2011 03:52:53 +0000
> Ken Moffat <[email protected]> wrote:
> 
> >  This time (still LFS-7.0), module-init-tools (needs libc.a or
> > else --disable-static-tools)
> 
> I must confess I was unaware of this problem. It's been years since I
> compiled module init tools as I don't use any modules.
> 
 Ah, you purists who follow Linus's advice :)

> >  and sysvinit (specifically, sulogin -
> > it couldn't find libcrypt although the symlink from libcrypt.so to
> > /lib/libcrypt.so.1 to libcrypt-2.14 looks ok
> > 
> 
> Try adding this to the sed on sysvinit's src/Makefile:
> 
> sed -i '/^all:/i  SULOGINLIBS+= -lcrypt' src/Makefile
> 
> Andy

 Cheers - adding it to the existing sed with -e '/^all... does
indeed fix it.  A quick look suggests I've now only got static libs
from glibc.  Since the only recommended way to upgrade libc on LFS
is to build a new system, I don't think I'll get too worried about
which static libc libraries are needed.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
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