Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exception: "ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library" occur

I read about library-xuggle-xuggler from Stackoverflow and I have added the below jars as

  1. slf4j-api-1.6.4.jar,
  2. commons-cli-1.1.jar,
  3. logback-core-1.0.0.jar,
  4. logback-classic-1.0.0.jar,
  5. xuggle-utils-1.20.688.jar,
  6. xuggle‑xuggler-5.2.jar

sequentially in java class path(order and export tab) as mentioned in the post. But unfortunately i am still getting exception bellow yet:

14:14:00.941 [main] ERROR com.xuggle.ferry.JNILibraryLoader - Could not load library: xuggle; version: 5; Visit http://www.xuggle.com/xuggler/faq/ to find common solutions to this problem
Exception in thread "main" java.lang.UnsatisfiedLinkError: no xuggle in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:268)
    at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:171)
    at com.xuggle.ferry.JNILibrary.load(JNILibrary.java:161)
    at com.xuggle.ferry.FerryJNI.<clinit>(FerryJNI.java:16)
    at com.xuggle.ferry.JNIMemoryManager.<clinit>(JNIMemoryManager.java:871)
    at com.xuggle.mediatool.MediaWriter.<clinit>(MediaWriter.java:119)
    at com.xuggle.mediatool.ToolFactory.makeWriter(ToolFactory.java:149)
    at com.java.concate.CallConcatenate.main(CallConcatenate.java:24)

Please help me to solve this problem. Is there any dependency for using this jars.

like image 307
Md. Mahedi Kaysar Avatar asked Dec 05 '25 04:12

Md. Mahedi Kaysar


1 Answers

the best way to fix it is using Xuggler 5.4 with maven according to How do I have to install/configure Xuggle to not get an UnsatisfiedLinkError?

like image 113
Ilya Yevlampiev Avatar answered Dec 07 '25 16:12

Ilya Yevlampiev