Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: How to fix following MizBee error

Abhimanyu Singh
2611 days ago

Question: How to fix following MizBee error

I got the following error while running MizBee.How to fiw it.

./MizBee                                    []
OpenJDK 64-Bit Server VM warning: You have loaded library /home/abhi/Downloads/application.linux(1)/application.linux/libgluegen-rt.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 "Animation Thread" java.lang.UnsatisfiedLinkError: /home/abhi/Downloads/application.linux(1)/application.linux/libgluegen-rt.so: /home/abhi/Downloads/application.linux(1)/application.linux/libgluegen-rt.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:102)
    at com.sun.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
    at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
    at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
    at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
    at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
    at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
    at com.sun.opengl.impl.x11.X11GLDrawableFactory.(X11GLDrawableFactory.java:99)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
    at processing.opengl.PGraphicsOpenGL.allocate(PGraphicsOpenGL.java:173)
    at processing.core.PGraphics3D.setSize(PGraphics3D.java:323)
    at processing.core.PApplet.makeGraphics(PApplet.java:1321)
    at processing.core.PApplet.size(PApplet.java:1142)
    at processing.core.PApplet.size(PApplet.java:1102)
    at MizBee.setup(MizBee.java:87)
    at processing.core.PApplet.handleDraw(PApplet.java:1571)
    at processing.core.PApplet.run(PApplet.java:1496)
    at java.lang.Thread.run(Thread.java:745)

Answers
0

install 32 bit version of java (dont remove 64 bit,Keep both) and make it default (sudo update-alternatives --config java) then try.

0

If it is not fixed by Pradyuma approach. You could try following

Type: execstack --version to check if you already have execstack installed.

If you get command not found type: sudo apt-get install execstack -y --force-yes

Type sudo execstack -c e.g sudo execstack -c /usr/lib/libcuda.so

I hope it gonna fix the error.