[vlc-devel] JVLC - java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc-control' under Windows

Filippo Carone filippo at carone.org
Tue Apr 15 23:22:08 CEST 2008


Geert Lorang ha scritto:
> Very small (but annoying) bugreport:
>
> When using JVLC under Windows you always get this exception:
> "Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to 
> load library 'vlc-control': The specified module could not be found."
> while it works fine under Linux. After some digging i found the cause of 
> this behavior:
>
> The DLL (under windows) is called "libvlc-control.dll" (under Linux it 
> is "libvlc-control.so").
> BUT the code (bindings/java/org/videolan/jvlc/internal/LibVlc.java) 
> tries to load "vlc-control" instead of "libvlc-control".
>
>   

Hi Geert,
thanks for your report. I ask you to be sure that libvlc-control is 
correctly reachable from jvlc, which means it is included in the PATH. 
As a fast check, try to copy the libvlc-control.dll in your system32 in 
the windows dir, if you still get the same error, then I'll open a bug 
and work on it, if you get 

java.lang.UnsatisfiedLinkError: Unable to load library 'vlc'

or

java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc'


without the control suffix, then it means you need to fix your PATH.

Cheers,
Filippo




More information about the vlc-devel mailing list