From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 8 14:45:48 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61C3B106566B for ; Fri, 8 Apr 2011 14:45:48 +0000 (UTC) (envelope-from jandrese@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 194E18FC13 for ; Fri, 8 Apr 2011 14:45:47 +0000 (UTC) Received: from zidane.cc.vt.edu (zidane.cc.vt.edu [198.82.163.227]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id p38Ej7Q8024018 for ; Fri, 8 Apr 2011 10:45:17 -0400 Received: from mail-qw0-f52.google.com (EHLO mail-qw0-f52.google.com) ([209.85.216.52]) by zidane.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id ORR85016; Fri, 08 Apr 2011 10:45:16 -0400 (EDT) Received: by mail-qw0-f52.google.com with SMTP id 8so3043805qwb.25 for ; Fri, 08 Apr 2011 07:45:16 -0700 (PDT) Received: by 10.229.141.11 with SMTP id k11mr1802162qcu.195.1302273916744; Fri, 08 Apr 2011 07:45:16 -0700 (PDT) Received: from escaflowne.ceyah.org (pool-96-241-179-120.washdc.fios.verizon.net [96.241.179.120]) by mx.google.com with ESMTPS id g28sm1965093qck.39.2011.04.08.07.45.14 (version=SSLv3 cipher=OTHER); Fri, 08 Apr 2011 07:45:15 -0700 (PDT) Date: Fri, 8 Apr 2011 10:45:11 -0400 From: Jason Andresen To: freebsd-emulation@freebsd.org Message-Id: <20110408104511.3875f57d.jandrese@vt.edu> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mirapoint-Received-SPF: 209.85.216.52 mail-qw0-f52.google.com jandrese@vt.edu 4 softfail X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A020301.4D9F1950.01BA, actions=DELAY SPF TAG X-Junkmail-Status: score=10/50, host=zidane.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A02020A.4D9F1F7D.0066,ss=1,fgs=0, ip=96.241.179.120, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Subject: Linking problem with Linuxulator Java and shared libraries X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2011 14:45:48 -0000 I have been trying to get Minecraft working with the linux-sun-jre because it is known broken with the FreeBSD jre, but running into a persistent problem trying to link in the shared libraries it needs to run. I can't tell if it's because I'm using the Linuxulator or if I've just missed something obvious, but it seems to try to link in a library it downloads ($HOME/.minecraft/bin/natives/liblwgl.so), and fails for some reason. I've tried doing a ktrace on it, but it didn't catch the right thread. I'm running this with a linux bash shell just to make sure the system knows I want it to use the Linuxulator. I've even done an ldd on the library to see if it was missing any dependancies (it depends against some java libraries, but everything seems to be in place). Every time I run it however, I get this: Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: Can't load library: /home/jandrese/.minecraft/bin/natives/liblwjgl.so at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at org.lwjgl.Sys$1.run(Sys.java:69) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.Sys.doLoadLibrary(Sys.java:65) at org.lwjgl.Sys.loadLibrary(Sys.java:81) at org.lwjgl.Sys.(Sys.java:98) at org.lwjgl.opengl.Display.(Display.java:132) at net.minecraft.client.Minecraft.a(SourceFile:219) at net.minecraft.client.Minecraft.run(SourceFile:638) at java.lang.Thread.run(Unknown Source) Killed Does anybody know anything else I can try? I tried setting the LD_LIBRARY_PATH, but that didn't help. I've verified that libGL is installed and works with Linux (can run Doom3, etc...). Is there any way to get more precise debugging out of Java? The debug modes didn't appear to do anything useful, but I'm not an expert with it. I'm running FreeBSD 8.2 with the Fedora 10 runtime. -- \__/ Jason Andresen -- My opinions are my own. \__/19\__/1A\__/1B\__/ /21\ That's the thing about people who think they hate computers. /2C\ \__/ What they really hate is lousy programmers. __/3B\__/ /41\ -- Larry Niven and Jerry Pournelle in "Oath of Fealty" /4B\__/4C\ \__/51\__/52\__/53\__/54\__/55\__/56\__/57\__/58\__/59\__/5A\__/5B\__/