cannot find /static/bin/env ???

Timothy Bauscher timothy at linuxfromscratch.org
Thu Jan 9 09:30:47 PST 2003


On Thu, Jan 09, 2003 at 06:25:45PM +0100, vincent blondel wrote:
> OK You are right, "env" binary was compiled dynamically but there is a
> problem.
> I tried to recompile sh-utils 2.0 with and without patch and I cannot get a
> statically compiled binary so I recompiled again with the example mentionned
> in LFS-3.3 and this works ... strange
> 
> ./configure --prefix=$LFS/static --disable-nls &&
> make LDFLAGS=-static &&
> make install &&

Try setting setting LDFLAGS=-static before configure.

LDFLAGS="-static" ./configure ...blah blah

-- 
timothy(at)linuxfromscratch.org

-*- "Share and Enjoy" || "Go stick your head in a pig" -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list