[vlc-devel] jvlc-0.9.0-20080309-linux_x86-32.jar

Tony Anecito adanecito at yahoo.com
Wed Mar 26 04:19:50 CET 2008


Filippo is correct. I have seen this error before
under windows. You need to add the option for the
plugin path to your options when you instantiate jvlc.

Regards,
-Tony
--- Filippo Carone <filippo at carone.org> wrote:

> Jorge Henriques (DEI) wrote:
> > Hi,
> >
> > I was trying to build a java application using
> jvlc, in order to 
> > capture and stream media contents.
> > However, after adding this new jvlc jar to the
> project in netbeans and 
> > trying to instanciate a JVLC object, i got this:
> >
> > /Exception in thread "Thread-1"
> java.lang.UnsatisfiedLinkError: Unable 
> > to load library 'libvlc-control':
> liblibvlc-control.so: cannot open 
> > shared object file: No such file or directory
> >         at
>
com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:114)
> >         at
>
com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:157)
> >         at
> com.sun.jna.Library$Handler.<init>(Library.java:123)
> >         at
> com.sun.jna.Native.loadLibrary(Native.java:260)
> >         at
> com.sun.jna.Native.loadLibrary(Native.java:246)
> >         at
>
org.videolan.jvlc.internal.LibVlc.<clinit>(LibVlc.java:41)
> >         at
> org.videolan.jvlc.JVLC.<init>(JVLC.java:45)
> >         at
> stmodwapp.control.ModuleVS3.run(ModuleVS3.java:167)
> >         at java.lang.Thread.run(Thread.java:619)
> >
> > /I don't know what i missbed... i don't know why
> it didn't load the 
> > libvlc-control library. Could you help me, plz?
> 
> 
> Hi Jorge,
> I'm putting vlc-devel in CC since these kind of
> mails may also help 
> other users.
> 
> Java can't find libvlc-control probably because it's
> not in your 
> LD_LIBRARY_PATH. Try to run
> 
> ldconfig -p | grep libvlc-control
> 
> and see it is listed there. If not configure your
> ldconfig properly 
> (perhaps by editing ld.so.conf), or put
> libvlc-control in a path 
> reachable by linker (for example, /usr/lib).
> 
> Cheers,
> Filippo
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the vlc-devel mailing list