NetBSD-Users archive

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

more skirmishing w/ emulation





I have been trying to get linux native 64-bit programs to run under NetBSD emulation. I am using the default, 6.1.5 64-bit GENERIC kernel, see below. I installed some of the suse-10 compatibility libraries that I thought I would need, namely Motif & OpenGL support, That brought in X11 as well. When I try to execute an executable compiled on another box on my LAN running a CentOS 5.8 (I think, might be newer) VM, kernel 2.6.18, I get the following:


[wam@4256EE1, ~/work, 10:05:07am] 370 % PreBFCGL.TEST.static.R8 -b
PreBFCGL.TEST.static.R8: error while loading shared libraries: libMrm.so.4: cannot open shared object file: No such file or directory
[wam@4256EE1, ~/work, 10:05:11am] 371 % lf /emul/linux/lib64/
ld-2.14.1.so* libc.so.6@ libm-2.14.1.so* libnss_compat-2.14.1.so* libpcre.so.0@ libthread_db.so.1@ ld-linux-x86-64.so.2@ libcap.so.2@ libm.so.6@ libnss_compat.so.2@ libpcre.so.0.0.1* libutil-2.14.1.so* libBrokenLocale-2.14.1.so* libcap.so.2.22* libncurses.so.5@ libnss_dns-2.14.1.so* libpthread-2.14.1.so* libutil.so.1@ libBrokenLocale.so.1@ libcidn-2.14.1.so* libncurses.so.5.8* libnss_dns.so.2@ libpthread.so.0@ libuuid.so.1@ libSegFault.so* libcidn.so.1@ libncurses.so.6@ libnss_files-2.14.1.so* libreadline.so.6@ libuuid.so.1.3.0* libacl.so.1@ libcrypt-2.14.1.so* libncurses.so.6.0* libnss_files.so.2@ libreadline.so.6.2* libwrap.so.0@ libacl.so.1.1.0* libcrypt.so.1@ libncursesw.so.5@ libnss_hesiod-2.14.1.so* libresolv-2.14.1.so* libwrap.so.0.7.6* libanl-2.14.1.so* libdl-2.14.1.so* libncursesw.so.5.8* libnss_hesiod.so.2@ libresolv.so.2@ libz.so.1@ libanl.so.1@ libdl.so.2@ libncursesw.so.6@ libnss_nis-2.14.1.so* librt-2.14.1.so* libz.so.1.2.5* libattr.so.1@ libgcc_s.so.1* libncursesw.so.6.0* libnss_nis.so.2@ librt.so.1@ libattr.so.1.1.0* libhistory.so.6@ libnsl-2.14.1.so* libnss_nisplus-2.14.1.so* libselinux.so.1* libc-2.14.1.so* libhistory.so.6.2* libnsl.so.1@ libnss_nisplus.so.2@ libthread_db-1.0.so*
[wam@4256EE1, ~/work, 10:05:13am] 372 % lf /emul/linux/lib/
YaST/     aaa_base/ mkinitrd/ udev/
[wam@4256EE1, ~/work, 10:05:16am] 373 % lf /lib/
libc.so@ libdevmapper.so.1@ libgcc_s.so.1.0 liblzma.so@ libppath.so.0@ librumpclient.so.0.0 libutil.so@ libc.so.12@ libdevmapper.so.1.0 libipsec.so@ liblzma.so.1@ libppath.so.0.0 libtermcap.so@ libutil.so.7@ libc.so.12.181 libedit.so@ libipsec.so.3@ liblzma.so.1.1 libprop.so@ libtermcap.so.0@ libutil.so.7.19 libcrypt.so@ libedit.so.3@ libipsec.so.3.0 libm.so@ libprop.so.1@ libtermcap.so.0.6@ libz.so@ libcrypt.so.1@ libedit.so.3.0 libkvm.so@ libm.so.0@ libprop.so.1.1 libterminfo.so@ libz.so.1@ libcrypt.so.1.0 libevent.so@ libkvm.so.6@ libm.so.0.10 libradius.so@ libterminfo.so.1@ libz.so.1.0 libcrypto.so@ libevent.so.3@ libkvm.so.6.0 libnpf.so@ libradius.so.4@ libterminfo.so.1.0 libcrypto.so.8@ libevent.so.3.2 liblzf.so@ libnpf.so.0@ libradius.so.4.0 libtermlib.so@ libcrypto.so.8.3 libgcc_s.so@ liblzf.so.0@ libnpf.so.0.0 librumpclient.so@ libtermlib.so.0@ libdevmapper.so@ libgcc_s.so.1@ liblzf.so.0.0 libppath.so@ librumpclient.so.0@ libtermlib.so.0.6@
[wam@4256EE1, ~/work, 10:05:19am] 374 % lf /
altroot/ bin/ boot.cfg cdrom/ emul/ home/ lib/ libexec/ mnt/ netbsd* rescue/ sbin/ tmp/ var/ amd/ boot cd/ dev/ etc/ kern/ libdata/ media/ net/ proc/ root/ stand/ usr/
[wam@4256EE1, ~/work, 10:05:28am] 375 % grep -i suse /etc/LIST.installed.txt
suse_base-12.1nb6    Linux compatibility package
suse_compat-10.0nb3  Linux compatibility package with old shared libraries
suse_glx-10.0nb4     Linux compatibility package for OpenGL/Mesa
suse_openmotif-10.0nb2 Linux compatibility package for OpenMotif
suse_x11-10.0nb4     Linux compatibility package for X11
[wam@4256EE1, ~/work, 10:05:32am] 376 % uname -a
NetBSD 4256EE1.CFD.COM 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
[wam@4256EE1, ~/work, 10:24:26am] 377 %

i.e. one of the Motif libraries not found (libMrm is the Motif Resource Manager library). I obviously poked around a bit & couldn't find it anywhere. For that matter, I couldn't see *any* recognized Motif or OpenGL libraries. I did a 'pkgin install suse_openmotif-10 suse_glx-10' to install them, which brought in suse_x11-10 & updated suse_base-10 to suse_base-12. More pilot error, I presume, what am I doing wrong here (possibly including misunderstanding or over-expecting emulation capabilities) ? TIA & have a good one.


--

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



Home | Main Index | Thread Index | Old Index