JVLC error when running demo application

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

JVLC error when running demo application

Postby sepi_1982 » 05 Oct 2006 08:11

Hello,

i am under Debian Linux and i am unable to run the JVLC demo application SwingClient. I get the following exception:

xception in thread "main" java.lang.UnsatisfiedLinkError: workspace_thesis/vlcTest/lib/libjvlc.so: libdvbpsi.so.4: 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:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:37)
at org.videolan.jvlc.JVLCCanvas.<init>(JVLCCanvas.java:44)
at org.videolan.jvlc.JVLCPanel.<init>(JVLCPanel.java:42)
at vlc.VLCPlayerFrame.initComponents(SwingClient.java:53)
at vlc.VLCPlayerFrame.<init>(SwingClient.java:39)
at vlc.SwingClient.main(SwingClient.java:209)


any idea about how to fix this?
thanks a lot
sebastien

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Postby funman » 05 Oct 2006 11:49

try to install libdvbpsi

sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

still the same problem

Postby sepi_1982 » 05 Oct 2006 14:39

hi,
thanks for your nreply. I did installed the package libdvbpsi3-dev under linux debian, but i still get the same exception. Do i need to restart Eclipse or my whole machine?

any idea?
thanks a lot
sebastien

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 05 Oct 2006 18:25

You need libdvbpsi4-dev for vlc!

sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

Postby sepi_1982 » 06 Oct 2006 08:12

Hello,

thanks for your reply. It seems that was the problem but now i have another one. It looks for the file: libstdc++.so.6

Exception in thread "main" java.lang.UnsatisfiedLinkError: /lib/libjvlc.so: libstdc++.so.6: 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:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.videolan.jvlc.JVLC.<clinit>(JVLC.java:37)
at org.videolan.jvlc.JVLCCanvas.<init>(JVLCCanvas.java:44)
at org.videolan.jvlc.JVLCPanel.<init>(JVLCPanel.java:42)
at vlc.VLCPlayerFrame.initComponents(SwingClient.java:53)
at vlc.VLCPlayerFrame.<init>(SwingClient.java:39)
at vlc.SwingClient.main(SwingClient.java:209)




What libraries do i need to start this JVLC. Would it be possible to have some kind of list of needed packages for Linux debian so that i can install everything at once?

thanks a lot
sebastien

sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

Postby sepi_1982 » 06 Oct 2006 15:56

I have made some progress, by installing the library , i got the application SwingClien t of JVLC to starts. I can see the GUI but not my AVI movie. I get those errors:

[00000018] main interface error: no interface module matched "hotkeys,none"
[00000018] main interface error: no suitable interface module
[00000001] main vlc error: interface "hotkeys,none" initialization failed
[00000019] main interface error: no interface module matched "screensaver,none"
[00000019] main interface error: no suitable interface module
[00000001] main vlc error: interface "screensaver,none" initialization failed
[00000022] main access error: no access2 module matched "any"
[00000020] main input error: no suitable access module for `'
[00000026] main access error: no access2 module matched "any"
[00000024] main input error: no suitable access module for `'
[00000029] main access error: no access2 module matched "file"


any ideas?
regards
sebastien

sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

Postby sepi_1982 » 09 Oct 2006 13:03

hi,
what do you think is the reason of my problem?
thanks
sebastien

oober
New Cone
New Cone
Posts: 5
Joined: 11 Oct 2006 17:40

Postby oober » 11 Oct 2006 18:55

Hi I got those errors since I upgraded vlc to the latest revision. I had to recompile jvlc to make them go away.

nimzo
New Cone
New Cone
Posts: 2
Joined: 12 Oct 2006 22:14

Postby nimzo » 12 Oct 2006 23:03

Last svn version now compiles and works (not completely stable though).

Remeber to clean out all old vlc stuff and to configure with
./configure --enable-java-bindings --disable-libtool

I am using ubuntu 6.06, my steps are documented here if it can be any help: http://sg.homeunix.org/trac/mvk17/wiki/ ... structions
---
MVK17, a open source java software for design and run psychopysical tests. Depends on vlc java bindings: http://sg.homeunix.org/trac/mvk17
---

sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

sill some problems

Postby sepi_1982 » 26 Oct 2006 09:23

Hello
thanks a again for your reply and the documentation.
i did not manage to compile VLC from source either., i get some errors:
when i run./bootstrap
it notifies me this:
"You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'"
then later own i get this error:
Copying file intl/textdomain.c
Copying file autotools/mkinstalldirs
+ aclocal1.4-p4 -I m4
./bootstrap: line 420: aclocal1.4-p4: command not found

i do have aclocal command in my Linux Debian system.
Can you tell me what is wrong?
The point also is that i do not have root access to the system.

regards
sebastien

nimzo
New Cone
New Cone
Posts: 2
Joined: 12 Oct 2006 22:14

Postby nimzo » 30 Oct 2006 21:23

Hi,
Do you have automake and autoconf? I recommend you get another computer with root access to install missing libraries if needed, there are many dependencies to vlc. Ubuntu shuldnt take more than half an hour to install with all libraries needed
---
MVK17, a open source java software for design and run psychopysical tests. Depends on vlc java bindings: http://sg.homeunix.org/trac/mvk17
---

sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

Postby sepi_1982 » 03 Nov 2006 07:24

hi
thnks for your reply,,
i do not have root access at my study place. I tried your guidelines on my kubuntu 6.06 machine i installled all required packages and it seems that ./boostrap works
but i get some error when ./configure some missing librairies
and make does not work.
Is it not possible to download a compile verison from somewhere?
thanks
sebastien

galabad
New Cone
New Cone
Posts: 6
Joined: 04 Nov 2006 22:11

main interface error: no interface module matched

Postby galabad » 10 Dec 2006 04:40

I just downloaded the latest linux binary and recompiled vlc per the above linked page. I am still getting the same error output problem listed above that starts with the line "main interface error: no interface module matched "hotkeys,none"

Has anyone else encountered or solved this problem?

galabad
New Cone
New Cone
Posts: 6
Joined: 04 Nov 2006 22:11

similar problem

Postby galabad » 10 Dec 2006 06:45

This webpage shows the same errors, is this normal?:

http://appdb.winehq.org/appview.php?iVe ... ingId=1673

sepi_1982
Blank Cone
Blank Cone
Posts: 22
Joined: 21 Aug 2006 13:02

Postby sepi_1982 » 12 Dec 2006 13:38

Hi,

JVLC group just released a new version of their librairies: binaries for both Linux and Windows. I did not try it but it might be now running fine without hard compilation.

galabad
New Cone
New Cone
Posts: 6
Joined: 04 Nov 2006 22:11

Problem with latest VLCJ linux binary

Postby galabad » 12 Dec 2006 17:57

I have been using the latest binary and it has the above mentioned problem. I also noticed the jar file in the binary download package has a modfy time of August 1st. That makes it appear as if the older files were put in the package by mistake. Is that what happened?

GuruMeditation
New Cone
New Cone
Posts: 1
Joined: 19 Dec 2006 21:10

Postby GuruMeditation » 19 Dec 2006 21:18

I started receiving the error after an Ubuntu system update. If you're building from scratch this may not help you, but these are the steps I used to fix the problem (and hope it helps some people who end up here using google). Maybe reinstalling some of the libs may help you :

System :

Ubuntu 7.04 (Feisty Fawn)
All applications installed through the apt-get interface.

Original error :

After doing a system update on December 18th (not sure what exactly got updated, but it was a 150Mb update) VLC refused to launch through its Gnome icon, and the following error occured in the console.

Code: Select all

VLC media player 0.8.6 Janus [00000276] main interface error: no suitable interface module [00000001] main private error: interface "hotkeys,none" initialization failed [00000278] main interface error: no suitable interface module [00000001] main private error: interface "screensaver,none" initialization failed [00000280] main interface error: no suitable interface module [00000001] main private error: interface "(null)" initialization failed
Steps taken :

Step 1 : Remove VLC and associated libs :

Code: Select all

$ sudo apt-get autoremove vlc Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libwxgtk2.6-0 libpostproc0d libdvbpsi4 libxosd2 libvlc0 vlc-nox libwxbase2.6-0 libdvdnav4 libiso9660-4 libdvdread3 vlc libmad0 libid3tag0 libmodplug0c2 libtar libvcdinfo0 libmpcdec3 libmpeg2-4 libsdl-image1.2 The following packages will be REMOVED: libdvbpsi4 libdvdnav4 libdvdread3 libid3tag0 libiso9660-4 libmad0 libmodplug0c2 libmpcdec3 libmpeg2-4 libpostproc0d libsdl-image1.2 libtar libvcdinfo0 libvlc0 libwxbase2.6-0 libwxgtk2.6-0 libxosd2 vlc vlc-nox 0 upgraded, 0 newly installed, 19 to remove and 15 not upgraded. Need to get 0B of archives. After unpacking 28.9MB disk space will be freed.
Step 2 : Reinstall VLC

Code: Select all

$ sudo apt-get install vlc Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libcaca0 libcucul0 libdvbpsi4 libdvdnav4 libdvdread3 libid3tag0 libiso9660-4 libmad0 libmodplug0c2 libmpcdec3 libmpeg2-4 libpostproc0d libsdl-image1.2 libtar libvcdinfo0 libvlc0 libwxbase2.6-0 libwxgtk2.6-0 libxosd2 vlc-nox Suggested packages: libdvdcss2 xfonts-base-transcoded mozilla-plugin-vlc Recommended packages: videolan-doc The following NEW packages will be installed: libcaca0 libcucul0 libdvbpsi4 libdvdnav4 libdvdread3 libid3tag0 libiso9660-4 libmad0 libmodplug0c2 libmpcdec3 libmpeg2-4 libpostproc0d libsdl-image1.2 libtar libvcdinfo0 libvlc0 libwxbase2.6-0 libwxgtk2.6-0 libxosd2 vlc vlc-nox 0 upgraded, 21 newly installed, 0 to remove and 15 not upgraded. Need to get 6155kB/11.4MB of archives. After unpacking 31.5MB of additional disk space will be used.
Step 3 : Use VLC :)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 35 guests