You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.UnsatisfiedLinkError: no pHash-jni 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.pHash.pHash.<clinit>(pHash.java:22)
Since there is no libpHash-jni.so nor libpHash.so at /usr/local/lib
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
sudo ./configure --enable-shared --enable-java --disable-audio-hash --disable-video-hash --disable-pthread
sudo make
cd bindings/java
javac org/pHash/*.java
sudo make install
Result:
java -Djava.library.path=/usr/local/lib org.pHash.pHash -mh img1.jpg img2.jpg
Since there is no libpHash-jni.so nor libpHash.so at /usr/local/lib
The text was updated successfully, but these errors were encountered: