Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 1996 15:16:58 -0700 (PDT)
From:      Jake Hamby <jehamby@lightside.com>
To:        current@FreeBSD.ORG
Subject:   Can't run Linux static ELF binaries?
Message-ID:  <Pine.AUX.3.91.960522151200.11532A-100000@covina.lightside.com>

next in thread | raw e-mail | index | archive | help
I just discovered, while trying to upgrade my /compat/linux/lib directory 
to the latest version of ld.so (1.7.14), that both the new ldconfig and 
ldd coredump immediately when run.  Both are statically linked ELF 
executables.  As a workaround, I installed everything in the ld.so 
package except for ldconfig and ldd, and am still using the old a.out 
ldconfig and ldd from linux_lib-2.0.

The only problem is that the old ldconfig doesn't properly recognize
libc.so.5.3.16 and libm.5.0.6 as valid ELF libraries and links the old
versions.  Oddly enough, it does link the new version of libc to a file
called "syntax_options".  I was able to workaround by deleting the old
libc and libm, and manually creating the proper symlinks to libc.so.5. 

If any of the Linux/ELF-meisters have a chance to look at this bug it 
would be a good idea.  Personally, I'm busy with adding SVR4 
compatibility from NetBSD, so I might find some bugs from that end, but 
don't have time to investigate this one.  Thanks!

---Jake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.AUX.3.91.960522151200.11532A-100000>