Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Native] JOGL Unsatisfied link error on Ubuntu 18.4.3 LTS / 64bits #139

Open
jzy3d opened this issue Jan 23, 2021 · 4 comments
Open

[Native] JOGL Unsatisfied link error on Ubuntu 18.4.3 LTS / 64bits #139

jzy3d opened this issue Jan 23, 2021 · 4 comments
Assignees

Comments

@jzy3d
Copy link
Owner

jzy3d commented Jan 23, 2021

To reproduce, run SurfaceDemo[AWT/Swing] from Ubuntu. Happens both on Jzy3d 1.* and Jzy3d 2.0 which use JOGL 2.3.2

SurfaceDemoEmulGL demos are working fine on Ubuntu (jzy3d 2.0)

Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/jogamp_0000/file_cache/jln10575466246892211241/jln2567921136565567722/natives/linux-amd64/libnativewindow_awt.so: /home/Martin/Dev/sts-4.9.0.RELEASE/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_15.0.1.v20201027-0507/jre/lib/libjawt.so: version `SUNWprivate_1.1' not found (required by /tmp/jogamp_0000/file_cache/jln10575466246892211241/jln2567921136565567722/natives/linux-amd64/libnativewindow_awt.so)
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:383)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:227)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:169)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2407)
	at java.base/java.lang.Runtime.load0(Runtime.java:747)
	at java.base/java.lang.System.load(System.java:1857)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:603)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:63)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:487)
	at jogamp.nativewindow.NWJNILibLoader.access$000(NWJNILibLoader.java:39)
	at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:49)
	at jogamp.nativewindow.NWJNILibLoader$1.run(NWJNILibLoader.java:41)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
	at jogamp.nativewindow.NWJNILibLoader.loadNativeWindow(NWJNILibLoader.java:41)
	at jogamp.nativewindow.jawt.JAWTUtil.<clinit>(JAWTUtil.java:336)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:468)
	at com.jogamp.nativewindow.NativeWindowFactory$3.run(NativeWindowFactory.java:344)
	at com.jogamp.nativewindow.NativeWindowFactory$3.run(NativeWindowFactory.java:340)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
	at com.jogamp.nativewindow.NativeWindowFactory.initSingleton(NativeWindowFactory.java:340)
	at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1721)
	at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
	at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
	at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:216)
	at com.jogamp.opengl.GLProfile.isAvailable(GLProfile.java:300)
	at com.jogamp.opengl.GLProfile.isAvailable(GLProfile.java:315)
	at org.jzy3d.chart.factories.NativePainterFactory.detectGLProfile(NativePainterFactory.java:120)
	at org.jzy3d.chart.factories.NativePainterFactory.<init>(NativePainterFactory.java:38)
	at org.jzy3d.chart.factories.AWTPainterFactory.<init>(AWTPainterFactory.java:41)
	at org.jzy3d.chart.factories.SwingPainterFactory.<init>(SwingPainterFactory.java:12)
	at org.jzy3d.chart.factories.SwingChartFactory.<init>(SwingChartFactory.java:9)
	at org.jzy3d.demos.surface.SurfaceDemoSwing.<init>(SurfaceDemoSwing.java:29)
	at org.jzy3d.demos.surface.SurfaceDemoSwing.main(SurfaceDemoSwing.java:33)

@jzy3d jzy3d added the bug label Jan 23, 2021
@jzy3d jzy3d added this to the 2.0 milestone Jan 23, 2021
@jzy3d jzy3d self-assigned this Jan 23, 2021
@jzy3d jzy3d changed the title Unsatisfied link error on Ubuntu [Native] JOGL Unsatisfied link error on Ubuntu Jan 23, 2021
@jzy3d jzy3d changed the title [Native] JOGL Unsatisfied link error on Ubuntu [Native] JOGL Unsatisfied link error on Ubuntu 18.4.3 LTS Jan 24, 2021
@jzy3d jzy3d changed the title [Native] JOGL Unsatisfied link error on Ubuntu 18.4.3 LTS [Native] JOGL Unsatisfied link error on Ubuntu 18.4.3 LTS / 64bits Jan 24, 2021
@jzy3d jzy3d added the jogl label Apr 9, 2021
@jzy3d
Copy link
Owner Author

jzy3d commented Apr 19, 2021

You may use EmulGL instead of JOGL for rendering with Jzy3D. EmulGL is made to enhance charts portability across computers.

See links to examples in the readme.

@jzy3d jzy3d modified the milestones: 2.0, 2.0.1 Jun 6, 2021
@jzy3d
Copy link
Owner Author

jzy3d commented Jan 4, 2022

Also encountered on JOGL 2.4 + Java 17 + Ubuntu 18. But not Ubuntu 20

@jzy3d
Copy link
Owner Author

jzy3d commented May 3, 2022

Seamingly not a JOGL problem!

@jzy3d jzy3d added the invalid label May 3, 2022
@jzy3d jzy3d modified the milestones: 2.1.0, 2.2.0 May 24, 2022
@jzy3d jzy3d modified the milestones: 2.2.0, 2.3.0 Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant