static build of nALFS impossible

Kevin P. Fleming kpfleming at linuxfromscratch.org
Thu Mar 4 06:39:30 PST 2004


Thomas.Beneke <REMOVE-THIS> Thomas.Beneke 
<REMOVE-THIS at belgarath.lNewsgroups: alfs.discuss wrote:

> src/ltdl/.libs/ltdl.a(src_ltdl_ltdl_la-ltdl.o)(.text+0x189f): In 
> function `sys_dl_open':
> : warning: Using 'dlopen' in statically linked applications requires at 
> runtime the shared libraries from the glibc version used for linking
> src/handlers/.libs/stage.a(stage.o)(.text+0x4eb): In function 
> `change_to_user':
> : warning: Using 'getpwent' in statically linked applications requires 
> at runtime the shared libraries from the glibc version used for linking

These are normal when doing a static build with glibc, they can be ignored.

> output of ldd ./nALFS
> nALFS: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
> GNU/Linux 2.6.2, dynamically linked (uses shared libs), not stripped

This is _not_ output from "ldd", it is output from "file". In spite of 
that, this is still a dynamic binary, not a static one.

Please check the binary with ldd, and also check the permissions on the 
nALFS binary.



More information about the alfs-discuss mailing list