NetBSD-Bugs archive

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

Re: port-sparc64/38949 (under emul_netbsd32 on sparc64 some applications die with segfault)



On May 19,  7:27pm, raymond.meyer%rambler.ru@localhost 
(raymond.meyer%rambler.ru@localhost) wrote:
-- Subject: Re: port-sparc64/38949 (under emul_netbsd32 on sparc64 some appli

| Yes, I tried the symlink like you suggested and it didn't work:
| 
| ultra10# ls /usr/lib/sparc/libedit*
| /usr/lib/sparc/libedit.a                /usr/lib/sparc/libedit.so.2.11
| /usr/lib/sparc/libedit.so               /usr/lib/sparc/libedit_p.a
| /usr/lib/sparc/libedit.so.2             /usr/lib/sparc/libedit_pic.a
| 
| ultra10# ln -s /usr/lib/sparc /lib
| 
| ultra10# ls /lib/sparc/libedit*
| /lib/sparc/libedit.a                    /lib/sparc/libedit.so.2.11
| /lib/sparc/libedit.so                   /lib/sparc/libedit_p.a
| /lib/sparc/libedit.so.2                 /lib/sparc/libedit_pic.a
| 
| ultra10# /opt/sandbox32/bin/sh
| Shared object "libedit.so.2" not found

I copied an i386 NetBSD-4.0 binary to amd64 NetBSD-current and the only
thing I had to do to make it work was ln -s /usr/libexec/ld.elf_so-i386 /libexec

$ ldd sh-386
sh-386:
        -lc.12 => /usr/lib/i386/libc.so.12
        -ltermcap.0 => /usr/lib/i386/libtermcap.so.0
        -ledit.2 => /usr/lib/i386/libedit.so.2

christos


Home | Main Index | Thread Index | Old Index