Code Monkey home page Code Monkey logo

Comments (5)

skoeven avatar skoeven commented on June 11, 2024

From [email protected] on February 02, 2014 21:36:11

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.

from tectonicus.

skoeven avatar skoeven commented on June 11, 2024

From [email protected] on March 09, 2014 13:09:53

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.(Sys.java:112)
at org.lwjgl.opengl.Display.(Display.java:135)
at tectonicus.rasteriser.lwjgl.LwjglRasteriser.(LwjglRasteriser.java:147)
at tectonicus.rasteriser.RasteriserFactory.createRasteriser(RasteriserFactory.java:61)
at tectonicus.TileRenderer.(TileRenderer.java:182)
at tectonicus.TectonicusApp.run(TectonicusApp.java:950)
at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)

from tectonicus.

skoeven avatar skoeven commented on June 11, 2024

From [email protected] on April 26, 2014 23:19:44

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.

from tectonicus.

skoeven avatar skoeven commented on June 11, 2024

From [email protected] on May 21, 2014 16:17:42

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 ', 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.(Sys.java:112)
at org.lwjgl.opengl.Display.(Display.java:135)
at tectonicus.rasteriser.lwjgl.LwjglRasteriser.(LwjglRasteriser.java:147)
at tectonicus.rasteriser.RasteriserFactory.createRasteriser(RasteriserFactory.java:61)
at tectonicus.TileRenderer.(TileRenderer.java:182)
at tectonicus.TectonicusApp.run(TectonicusApp.java:950)
at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)

from tectonicus.

skoeven avatar skoeven commented on June 11, 2024

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.

from tectonicus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.