NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Need help w/ binary emulation


I'm trying to get a Linux program (or a bunch of them that are part of a product) to work under NetBSD. This is on NetBSD-4/i386, using emulators/suse100 from pkgsrc-2007Q4.

By ldd-ing all the binaries, here's what I see...

        -lc.6 => not found
        -lcrypt.1 => not found
        -ldl.2 => not found
        -lgcc_s.1 => /usr/lib/
        -lgdbm.2 => not found
        -lm.6 => not found
        -lncurses.5 => not found
        -lpthread.0 => /usr/lib/
        -lstdc++.5 => /usr/lib/
        -lutil.1 => not found

... see how it's finding some stuff in /usr/lib? That can't be good can it?

Also we do have libc, libcrypt, libdl, libgcc_s, libm, libncurses, libpthread and libutil in /emul/linux/lib.

That leaves only libgdbm and libstdc++ missing.

So there are 2 big questions:

. How do I get the system to look first in /usr/pkg/emul/linux/lib for linux binaries?

. How do I get libgdbm and libstdc++ into the Linux emulation environment?


Home | Main Index | Thread Index | Old Index