You are not logged in.
Pages: 1
Hello,
Before trying to modify the source code of more obscure UNIXes, I wanted to compile a [more] popular UNIX for proof of concept. I chose NetBSD, and build.sh ran smoothly. The problems arose when I tried to run a basic script, such as bin/ed. It shows "command not found." After doing research, it turns out that it shows that if the executable is missing dynamic libraries. I ran:
% ldd ./bin/edSome libraries, such as libc, were missing. I understand why this might happen, because Linux doesn't have those libraries. I tried chrooting:
% chroot . /bin/sh(NetBSD has a /bin/sh). It returned a segmentation fault.
What's going wrong?
Thanks.
Last edited by Toad39 (2020-11-14 05:38:04)
Offline
Pages: 1