From owner-freebsd-questions Sat Jul 26 12:42:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA16054 for questions-outgoing; Sat, 26 Jul 1997 12:42:43 -0700 (PDT) Received: from hubbub.cisco.com (mailgate-sj-1.cisco.com [198.92.30.31]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA16049 for ; Sat, 26 Jul 1997 12:42:40 -0700 (PDT) Received: from rast.cisco.com (rast.cisco.com [171.69.113.55]) by hubbub.cisco.com (8.8.4-Cisco.1/CISCO.GATE.1.1) with ESMTP id MAA07998 for ; Sat, 26 Jul 1997 12:29:09 -0700 (PDT) Received: from localhost.cisco.com (localhost.cisco.com [127.0.0.1]) by rast.cisco.com (8.8.5/8.8.5) with SMTP id MAA00782 for ; Sat, 26 Jul 1997 12:29:08 -0700 (PDT) Message-Id: <199707261929.MAA00782@rast.cisco.com> To: freebsd-questions@freebsd.org Subject: Problems running vrwave (linux sharable libraries) X-Homepage: http://www.employees.org/~raj X-Quote: Why is it that you drive on the parkway, and park on the driveway? Date: Sat, 26 Jul 1997 12:29:06 -0700 From: Richard Johnson Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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