Subject: does anyone have a working Solaris emulation?
To: None <port-sparc64@NetBSD.ORG>
From: None <ads@lazernet.de>
List: port-sparc64
Date: 12/19/2003 09:52:02
Hello,
I'm trying to get Solaris 9 emulation to work. I use a GENERIC NetBSD
1.6.1 kernel on an UltraSparc5 and copied all libs from a Solaris
machine to /emul/sunos/usr/lib (and .../lib/sparcv9). I also created
links from /emul/svr4 to /emul/sunos as well as from /emul/svr4_32.
A typical ldd output looks like the this:
/emul/sunos/usr/lib/sparcv9>ldd libmd5.so.1
libmd5.so.1:
-ldl.1 => not found
-lc.1 => /emul/sunos/usr/lib/sparcv9/libc.so.1
/emul/sunos/usr/lib/sparcv9>file libmd5.so.1
libmd5.so.1: ELF 64-bit MSB shared object, SPARC V9, version 1 (SYSV),
not stripped
As you see it (correctly?) finds one library but not the other one. When
I search for this library I get this:
/emul/sunos/usr/lib/sparcv9>ls -al libdl.so*
-rw-r--r-- 1 alex wheel 5160 Jun 24 19:59 libdl.so
-rw-r--r-- 1 alex wheel 5160 Jun 24 19:59 libdl.so.1
/emul/sunos/usr/lib/sparcv9>file libdl.so.1
libdl.so.1: ELF 64-bit MSB shared object, SPARC V9, version 1 (SYSV),
not stripped
/emul/sunos/usr/lib/sparcv9>ldd libdl.so.1
ldd: libdl.so.1: wrong number of segments (1 != 2)
Anyone can help me out with this? Is the libdl really broken or did I
forget anything?
How can I find out if my kernel has Solaris emulation support enabled.
And if this file is broken, where can I find a new (or better old
because this comes from the newest Solaris 9 available) version of it. I
don't have access to a Solaris system anymore.
Any help would be appricated.
Bye, Alex