Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 1997 12:29:06 -0700
From:      Richard Johnson <raj@cisco.com>
To:        freebsd-questions@freebsd.org
Subject:   Problems running vrwave (linux sharable libraries)
Message-ID:  <199707261929.MAA00782@rast.cisco.com>

next in thread | raw e-mail | index | archive | help
I'm trying to run this program "vrwave-0.8" (in order to look at the
3-D pictures from the Mars lander! :-).  It's a Linux binary and uses
Java 1.0.2.  Every time I run it I get:

% vrwave

--- VRwave 0.8 of Jun 6, 1997 ---
Copyright (c) 1997 IICM, Graz University of Technology, Austria.

initializing Canvas ...
initializing Frame ...
loading libgejc.so ...
bad magic number in "/usr/local/vrwave-0.8/lib/LINUX_J111/libgejc.so" (/usr/local/vrwave-0.8/lib/LINUX_J111/libgejc.so)
OGLCanvas. error: unable to load 'gejc' shared library.
You'll get no display output. Please check your LD_LIBRARY_PATH.

----------------
My LD_LIBRARY_PATH *does* include the directory where the libgejc.so
file is located (as made evident by the "bad magic number" message).
I even copied this library into /compat/linux/lib thinking it needed
to be there since it's a Linux sharable library and it still doesn't
work.

Yes, the linux kernel module is running:

% modstat
Type     Id Off Loadaddr Size Info     Rev Module Name
MISC      0   0 f41c1000 0008 f41c2000   1 star_saver_mod
EXEC      1   4 f41d7000 001c f41dd010   1 linux_mod

but whether or not it's running it makes no difference in the error
message.

I have installed all of the linux compat stuff and programs such as
"Wingz" (a linux binary) work just fine.  I have this feeling I'm
missing something really basic.  Any ideas?

/raj



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707261929.MAA00782>