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: 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>