Closed GoogleCodeExporter closed 9 years ago
Maybe this is because vlc-devel (libvlc.so there) is not installed here.
Looks like vlc_1_1_x.py tries to open one of libvlc.so or libvlc.so.5.
But vlc_1_0_x.py needs to open only libvlc.so.
Original comment by alekc...@googlemail.com
on 9 May 2011 at 4:31
There is a change that I will publish tomorrow that will fix this issue.
Original comment by flyguy97
on 9 May 2011 at 8:10
Original comment by flyguy97
on 9 May 2011 at 8:15
Issue fixed with version 0.7.2.
Original comment by flyguy97
on 10 May 2011 at 8:34
It fixed if vlc 1.1.x used (can't test with vlc 1.0.x).
But I am not sure about 1.0.x because libvlc there have other soname
libvlc.so.2.
See files here http://packages.ubuntu.com/lucid/libvlc2
But after I changed libvlc.so.5 to libvlc.so.2 in vlc_1_0_x.py then again this
error:
Traceback (most recent call last):
File "/usr/lib/sopcast-player/lib/sopcast-player.py", line 36, in <module>
from VLCWidget import VLCWidget
File "/usr/lib/sopcast-player/lib/VLCWidget.py", line 32, in <module>
import vlc_1_0_x
File "/usr/lib/sopcast-player/lib/vlc_1_0_x.py", line 49, in <module>
dll = ctypes.CDLL('libvlc.so.2')
File "/usr/lib/python2.7/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libvlc.so.2: cannot open shared object file: No such file or directory
Original comment by alekc...@googlemail.com
on 10 May 2011 at 8:59
I will put out another update sometime this week that will first try to load
libvlc.so, then fallback to loading libvlc.so.x where x is the highest so
version number installed. It doesn't make sense to hard-code these values in
here. Once complete I will also submit patch upstream so other projects don't
duplicate the same effort.
Original comment by flyguy97
on 11 May 2011 at 4:14
Fixed in sopcast player 0.7.2
Original comment by flyguy97
on 23 May 2011 at 5:33
I have the same problem:
Traceback (most recent call last):
File "/usr/share/sopcast-player/lib/sopcast-player.py", line 36, in <module>
from VLCWidget import VLCWidget
File "/usr/share/sopcast-player/lib/VLCWidget.py", line 32, in <module>
import vlc_1_0_x
File "/usr/share/sopcast-player/lib/vlc_1_0_x.py", line 49, in <module>
dll = ctypes.CDLL('libvlc.so.5')
File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libvlc.so.5: cannot open shared object file: No such file or directory
Could you please tell me how to fix it?
Original comment by hbthien0...@gmail.com
on 21 Nov 2011 at 9:17
Original issue reported on code.google.com by
alekc...@googlemail.com
on 9 May 2011 at 4:25