Closed GoogleCodeExporter closed 9 years ago
I got this same error when running on a headless server (after playing with
execstack for a while in a wild goose chase).
Try running it with DISPLAY defined.
Original comment by inta...@gmail.com
on 3 Feb 2014 at 5:36
I have same problem. It's weird, because few weeks ago it worked fine. Maybe
new java version is the problem?
+ + + + + + + + + + + + + + + + + + + + + + +
Tectonicus
Version: 2.19
Build 42\:124M\r\n
Constructed on November 10 2013 at 2003
+ + + + + + + + + + + + + + + + + + + + + + +
Started on Sun Mar 09 21:00:24 CET 2014
System:
OS Name: Mac OS X
OS Architecture: x86_64
OS Version: 10.9.2
Java vendor: Oracle Corporation
Java version: 1.8.0
Awt toolkit: sun.lwawt.macosx.LWCToolkit
Headless?: null
// config stuff here
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library:
/Users/tomaspavel/.tectonicus/native/liblwjgl.dylib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at org.lwjgl.Sys$1.run(Sys.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:95)
at org.lwjgl.Sys.<clinit>(Sys.java:112)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at tectonicus.rasteriser.lwjgl.LwjglRasteriser.<init>(LwjglRasteriser.java:147)
at tectonicus.rasteriser.RasteriserFactory.createRasteriser(RasteriserFactory.java:61)
at tectonicus.TileRenderer.<init>(TileRenderer.java:182)
at tectonicus.TectonicusApp.run(TectonicusApp.java:950)
at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)
Original comment by kamenitx...@gmail.com
on 9 Mar 2014 at 8:09
I'm running into this problem under Ubuntu as well. From the error message, it
seems to indicate that it is trying to access 32 bit libraries on a 64 bit
system.
I looked in the ~/.tectonicus/native and there are a few .so libraries that
get deposited at some point, which include both 32 bit and 64 bit .so files.
The 32 bit files seem to be running erroneously.
What I did to hack around this problem was to open up the jar file and replace
the 32 bit .so files with their 64 bit equivalents.
That seemed to get me a little farther, but then I ran into another
UnsatisfiedLinkError:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/ubuntu/.tectonicus/native/liblwjgl.so: libjawt.so: cannot open shared
object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
I've ensured that libjawt.so was in the classpath, but that didn't help. At
this point I am giving up and going to bed.
Original comment by spikewilliams@gmail.com
on 27 Apr 2014 at 6:19
Yea, im getting this error too on Ubuntu Server 13.10. Has a solution been
found?
Initialising display...
OpenJDK 64-Bit Server VM warning: You have loaded library
/root/.tectonicus/native/liblwjgl.so which might have disabled stack guard. The
VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>',
or link it with '-z noexecstack'.
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/root/.tectonicus/native/liblwjgl.so: /root/.tectonicus/native/liblwjgl.so:
wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1062)
at org.lwjgl.Sys$1.run(Sys.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:95)
at org.lwjgl.Sys.<clinit>(Sys.java:112)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at tectonicus.rasteriser.lwjgl.LwjglRasteriser.<init>(LwjglRasteriser.java:147)
at tectonicus.rasteriser.RasteriserFactory.createRasteriser(RasteriserFactory.java:61)
at tectonicus.TileRenderer.<init>(TileRenderer.java:182)
at tectonicus.TectonicusApp.run(TectonicusApp.java:950)
at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)
Original comment by simonh...@gmail.com
on 21 May 2014 at 11:17
Tectonicus is being moved over to GitHub here:
https://github.com/tectonicus/tectonicus
I have imported this issue into the new GitHub project issue tracker:
https://github.com/tectonicus/tectonicus/issues/40
Original comment by skoeven
on 28 Aug 2014 at 3:52
I'm a bit late to the party, but here goes: Running on a headless machine
takes extra steps which can be found here:
http://minecraft.gamepedia.com/Programs_and_Editors/Tectonicus/VPS
Also try setting force64BitNatives to true.
Post any further questions or comments to the GitHub issue tracker:
https://github.com/tectonicus/tectonicus/issues/40
Original comment by skoeven
on 5 Sep 2014 at 11:01
Original issue reported on code.google.com by
ast...@gmail.com
on 3 Dec 2013 at 3:46