I tried to create a static version of bash (as it was discussed elsewhere) as
a /bin/sh replacement.
I simply changed -Bdynamic to -Bstatic in the makefile, but then I get
errors, that some libraries where not found. E.g a /usr/lib/libdl.a is missing.
As this seems to be a part of the dynamic linker I would have a problem if
it doesn't exist. But deleting -ldl from the library list gives an error,
that symbols like dlopen, dlclose are missing, but from /usr/lib/libc.a!!!??
When testing other programs to link statically I have same or similar problems.
Additionally /bin/file doesn't seem to be able to distinguish between static and
Dynamic bound executables.
Can someone help me?
Department for Manufacturing Automation and Production Systems FAPS
University of Erlangen
Tel.: +49 (0)9131/85-8740
Fax: +49 (0)9131/302528