libgomp.so.1: version `GOMP_4.0' not found on inux mint 17 Linux x86_64

1,267 views
Skip to first unread message

Jacek Szczukocki

unread,
Jul 21, 2015, 7:54:50 PM7/21/15
to jav...@googlegroups.com

I'm working on linux mint 17 Linux 3.13.0-37-generic x86_64 with java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode). I'm trying to run javacv project on this machine and every time I have :


Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:550)
    at org.bytedeco.javacpp.Loader.load(Loader.java:415)
    at org.bytedeco.javacpp.Loader.load(Loader.java:358)
    at org.bytedeco.javacpp.opencv_core.<clinit>(opencv_core.java:10)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at org.bytedeco.javacpp.Loader.load(Loader.java:390)
    at org.bytedeco.javacpp.Loader.load(Loader.java:358)
    at org.bytedeco.javacpp.opencv_imgcodecs.<clinit>(opencv_imgcodecs.java:13)
    at org.szczukocki.opensources.thcmarker.Test06.main(Test06.java:41)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/javacpp3338173427312/libjniopencv_core.so: /usr/lib/x86_64-linux-gnu/libgomp.so.1: version `GOMP_4.0' not found (required by /tmp/javacpp3338173427312/libopencv_core.so.3.0)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
    at java.lang.Runtime.load0(Runtime.java:809)
    at java.lang.System.load(System.java:1086)
    at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:539)
    ... 9 more





/usr/lib/x86_64-linux-gnu/libgomp.so.1 file exists. I don't have any idea what is the issue here.

Samuel Audet

unread,
Jul 21, 2015, 7:56:59 PM7/21/15
to javacv

That just means that you need to rebuild the native library for your version of Linux...

Samuel

2015/07/22 8:54 "Jacek Szczukocki" <szczu...@gmail.com>:
--

---
You received this message because you are subscribed to the Google Groups "javacv" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacv+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Knut Eilif Husa

unread,
Aug 5, 2015, 7:05:04 AM8/5/15
to javacv
I had the exact same error with my javacv project. Can you please give some instructions on how to build and install the "native library".

Samuel Audet

unread,
Aug 8, 2015, 9:54:37 PM8/8/15
to jav...@googlegroups.com
On 08/05/2015 07:27 PM, Knut Eilif Husa wrote:
> I had the exact same error with my javacv project. Can you please give some
> instructions on how to build and install the "native library".

All the information is here:
https://github.com/bytedeco/javacpp-presets#build-instructions
Let me know if you encounter any problems with that, thanks!

Samuel

Sikai Zhu

unread,
Aug 27, 2015, 8:52:18 PM8/27/15
to javacv
Hi,

I'm also facing the same problem. Was anyone able to solved the issue?


Best,
Sikai

Samuel Audet

unread,
Aug 29, 2015, 1:55:27 AM8/29/15
to jav...@googlegroups.com
On 08/28/2015 07:43 AM, Sikai Zhu wrote:
> I'm also facing the same problem. Was anyone able to solved the issue?

Discussing about this issue is here:
https://github.com/bytedeco/javacpp-presets/issues/74

Sikai Zhu

unread,
Aug 29, 2015, 2:38:18 PM8/29/15
to jav...@googlegroups.com
Thanks, I tried to rebuild the native package on the server and it worked.



--

--- You received this message because you are subscribed to a topic in the Google Groups "javacv" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javacv/W-qN322Biy4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to javacv+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Sikai Zhu
Reply all
Reply to author
Forward
0 new messages