Last active
June 21, 2016 20:49
-
-
Save surezsivam/a3557f4af6befd089d4da75f086aa34d to your computer and use it in GitHub Desktop.
UnsatisfiedLinkError -libjniopencv_core.so
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<prerequisites> | |
<maven>3.0.5</maven> | |
</prerequisites> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-examples</artifactId> | |
<version>0.4-rc0-SNAPSHOT</version> | |
<name>DeepLearning4j Examples</name> | |
<description>Examples of training different data sets</description> | |
<properties> | |
<nd4j.backend>nd4j-native</nd4j.backend> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<shadedClassifier>bin</shadedClassifier> | |
<java.version>1.7</java.version> | |
<nd4j.version>0.4-rc3.10</nd4j.version> | |
<dl4j.version>0.4-rc3.10</dl4j.version> | |
<canova.version>0.0.0.16</canova.version> | |
<arbiter.version>0.0.0.7</arbiter.version> | |
<guava.version>19.0</guava.version> | |
<jfreechart.version>1.0.13</jfreechart.version> | |
<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version> | |
<exec-maven-plugin.version>1.4.0</exec-maven-plugin.version> | |
</properties> | |
<repositories> | |
<repository> | |
<id>snapshots-repo</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
<distributionManagement> | |
<snapshotRepository> | |
<id>sonatype-nexus-snapshots</id> | |
<name>Sonatype Nexus snapshot repository</name> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
</snapshotRepository> | |
<repository> | |
<id>nexus-releases</id> | |
<name>Nexus Release Repository</name> | |
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | |
</repository> | |
</distributionManagement> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>nd4j-native</artifactId> | |
<version>${nd4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>nd4j-cuda-7.5</artifactId> | |
<version>${nd4j.version}</version> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-nlp</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-core</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>deeplearning4j-ui</artifactId> | |
<version>${dl4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>${guava.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.nd4j</groupId> | |
<artifactId>${nd4j.backend}</artifactId> | |
</dependency> | |
<dependency> | |
<artifactId>canova-nd4j-image</artifactId> | |
<groupId>org.nd4j</groupId> | |
<version>${canova.version}</version> | |
</dependency> | |
<dependency> | |
<artifactId>canova-nd4j-codec</artifactId> | |
<groupId>org.nd4j</groupId> | |
<version>${canova.version}</version> | |
</dependency> | |
<!-- Used in the RegressionMathFunctions example --> | |
<dependency> | |
<groupId>jfree</groupId> | |
<artifactId>jfreechart</artifactId> | |
<version>${jfreechart.version}</version> | |
</dependency> | |
<!-- Arbiter: used for hyperparameter optimization examples --> | |
<dependency> | |
<groupId>org.deeplearning4j</groupId> | |
<artifactId>arbiter-deeplearning4j</artifactId> | |
<version>${arbiter.version}</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>${exec-maven-plugin.version}</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<executable>java</executable> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>${maven-shade-plugin.version}</version> | |
<configuration> | |
<shadedArtifactAttached>true</shadedArtifactAttached> | |
<shadedClassifierName>${shadedClassifier}</shadedClassifierName> | |
<createDependencyReducedPom>true</createDependencyReducedPom> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>org/datanucleus/**</exclude> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
</configuration> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> | |
<resource>reference.conf</resource> | |
</transformer> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
</transformer> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.5.1</version> | |
<configuration> | |
<source>${java.version}</source> | |
<target>${java.version}</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path | |
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) | |
at java.lang.Runtime.loadLibrary0(Runtime.java:870) | |
at java.lang.System.loadLibrary(System.java:1122) | |
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:702) | |
at org.bytedeco.javacpp.Loader.load(Loader.java:500) | |
at org.bytedeco.javacpp.Loader.load(Loader.java:417) | |
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:472) | |
at org.bytedeco.javacpp.Loader.load(Loader.java:417) | |
at org.bytedeco.javacpp.opencv_imgcodecs.<clinit>(opencv_imgcodecs.java:13) | |
at org.canova.image.loader.NativeImageLoader.asMatrix(NativeImageLoader.java:171) | |
at org.canova.image.loader.NativeImageLoader.asRowVector(NativeImageLoader.java:125) | |
at org.canova.image.recordreader.BaseImageRecordReader.next(BaseImageRecordReader.java:235) | |
at org.deeplearning4j.datasets.canova.RecordReaderDataSetIterator.next(RecordReaderDataSetIterator.java:169) | |
at org.deeplearning4j.datasets.canova.RecordReaderDataSetIterator.next(RecordReaderDataSetIterator.java:337) | |
at org.deeplearning4j.datasets.canova.RecordReaderDataSetIterator.next(RecordReaderDataSetIterator.java:47) | |
at org.deeplearning4j.examples.convolution.ImageClassification.main(ImageClassification.java:82) | |
... 6 more | |
Caused by: java.lang.UnsatisfiedLinkError: /tmp/javacpp4839791561492098/libjniopencv_core.so: libgomp.so.1: cannot open shared object file: No such file or directory | |
at java.lang.ClassLoader$NativeLibrary.load(Native Method) | |
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) | |
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) | |
at java.lang.Runtime.load0(Runtime.java:809) | |
at java.lang.System.load(System.java:1086) | |
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:685) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment