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,  6:49pm, raymond.meyer%rambler.ru@localhost 
(raymond.meyer%rambler.ru@localhost) wrote:
-- Subject: Re: port-sparc64/38949 (under emul_netbsd32 on sparc64 some appli

| On Tue, 19 May 2009 17:05:07 +0000 (UTC)
| matthew green <mrg%eterna.com.au@localhost> wrote:
| 
| > The following reply was made to PR port-sparc64/38949; it has been
| > noted by GNATS.
| > 
| > From: matthew green <mrg%eterna.com.au@localhost>
| > To: raymond.meyer%rambler.ru@localhost
| > Cc: port-sparc64-maintainer%netbsd.org@localhost, 
gnats-admin%netbsd.org@localhost,
| >     netbsd-bugs%netbsd.org@localhost, gnats-bugs%NetBSD.org@localhost
| > Subject: re: port-sparc64/38949 (under emul_netbsd32 on sparc64 some
| > applications die with segfault) Date: Wed, 20 May 2009 03:00:18 +1000
| > 
| >  ah, the problem here is that /libexec/ld.elf_so-sparc doesn't
| >  exist... 
| >  
| >  most apps work, but /bin and /sbin ones won't...
| >  
| >  
| >  .mrg.
| >  
| 
| Well I copied 32-bit ld.elf_so to /libexec/ld.elf_so-sparc, but now I
| get the following error when I try to execute 32-bit sh binary:
| 
| # ./sh
| Shared object "libedit.so.2" not found
| 
| # 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
| 
| Is this because ld.elf_so-sparc that I copied has hardcoded paths
| to /lib which contains 64-bit library files? How do I tell it to look
| into /usr/lib/sparc?

Try ln -s /usr/lib/sparc /lib

christos


Home | Main Index | Thread Index | Old Index