netbsd-bugs@netbsd.org
[Top] [All Lists]

re: port-sparc64/38949 (under emul_netbsd32 on sparc64 some applications

Subject: re: port-sparc64/38949 under emul_netbsd32 on sparc64 some applications die with segfault
From: matthew green
Date: Tue, 19 May 2009 18:15:04 +0000 UTC
The following reply was made to PR port-sparc64/38949; it has been noted by 
GNATS.

From: matthew green <mrg@xxxxxxxxxxxxx>
To: raymond.meyer@xxxxxxxxxx
Cc: port-sparc64-maintainer@xxxxxxxxxx, gnats-admin@xxxxxxxxxx,
    netbsd-bugs@xxxxxxxxxx, gnats-bugs@xxxxxxxxxx
Subject: re: port-sparc64/38949 (under emul_netbsd32 on sparc64 some 
applications die with segfault)
Date: Wed, 20 May 2009 04:10:34 +1000

    
    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?
 
 
 i'm not sure yet -- that's the real problem.
 
 i'll have an idea soon enough.
 
 
 .mrg.
 

<Prev in Thread] Current Thread [Next in Thread>