Author Topic: Fresh install 12.04:VDR not working ("libcec.so.2")?  (Read 9017 times)

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Fresh install 12.04:VDR not working ("libcec.so.2")?
« on: November 02, 2015, 10:45:17 am »
Hello!

after my HDD crashed I had to do a fresh install of 12.04.
System is running fine except VDR client. VDR backend is working fine.

VDR-Client is not starting when I klick on "TV" in onscreen orbiter. VDR-log and syslog are showing no errors.
When I start the script "StartVDRClient.sh" from the command line it throws endless errors:

/usr/bin/vdr-sxfe: error while loading shared libraries: libcec.so.2: cannot open shared object file: No such file or directory


Output of "ldd /usr/bin/vdr-sxfe":
...
libcec.so.2 => not found
...


Output of "dpkg -l *cec*":
...
un  libcec                        <keine>                       (keine Beschreibung vorhanden)
un  libcec1                       <keine>                       (keine Beschreibung vorhanden)
un  libcec2                       <keine>                       (keine Beschreibung vorhanden)
ii  libcec3                       3.0.1-1-precise1              libCEC communication Library (shared library)
ii  lmce-cec-adaptor              2.0.0.46.15103131564          <insert up to 60 chars description>
ii  pluto-dcecommon               2.0.0.46.15103131564          <insert up to 60 chars description>
...

Output of "dpkg -l *vdr*":
...
un  libdvdread3                   <keine>                       (keine Beschreibung vorhanden)
ii  libdvdread4                   4.2.0-1ubuntu4                library for reading DVDs
un  libxine-xvdr                  <keine>                       (keine Beschreibung vorhanden)
ii  libxine1-xvdr                 2.0.0+git20150220-0yavdr0~pre Xine input plugin for vdr-plugin-xineliboutput streams
ii  pluto-vdr                     2.0.0.46.15103131564          <insert up to 60 chars description>
ii  pluto-vdr-plugin              2.0.0.46.15103131564          <insert up to 60 chars description>
ii  vdr                           2.0.6-6yavdr1                 Video Disk Recorder for DVB cards
un  vdr-abi-2.0.6-yavdr0          <keine>                       (keine Beschreibung vorhanden)
un  vdr-plugin-dvbsddevice        <keine>                       (keine Beschreibung vorhanden)
ii  vdr-plugin-remotetimers       1.0.1-2yavdr4~precise         VDR plugin to edit timers on a remote VDR
ii  vdr-plugin-streamdev-client   0.6.1.git20140518-0yavdr1~pre VDR Plugin to stream Live-TV to other VDR's - client part
ii  vdr-plugin-streamdev-server   0.6.1.git20140518-0yavdr1~pre VDR Plugin to stream Live-TV to other VDR's - server part
ii  vdr-plugin-svdrpservice       1.0.0-6yavdr4~precise         VDR plugin that provides a SVDRP service for other plugins
ii  vdr-plugin-vnsiserver         2:1.2.0~git20150103-a48edf135 VDR-Network-Streaming-Interface
ii  vdr-plugin-xineliboutput      1.1.0-22-g1d98107-1yavdr4~pre VDR plugin for Xine based sofdevice frontends


Any ideas?

Greets!

Bernd


« Last Edit: November 02, 2015, 10:47:09 am by rebelkiller »

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #1 on: November 02, 2015, 10:49:00 am »
libcec error is not relevant.

VNSI is not needed for LinuxMCE.

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #2 on: November 02, 2015, 06:21:53 pm »
My RPi2-KODI-Client needs vnsi-server. There is no problem. EPG and TV-streaming is working flawlessly via vnsi-server. Backend is working.

Watching TV on the local client is not working. it seams vdr-sxfe is not starting because of libcec-error....
libcec-error can be ignored???

 :-\

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #3 on: November 02, 2015, 06:58:11 pm »
This is a list of all the vdr xine packages that are installed on my media director. see if it helps you
Code: [Select]
root@moon298:~/.xine# dpkg -l | grep vdr|grep ^ii|grep xine
ii  libxine1-xvdr                          2.0.0+git20150220-0yavdr0~precise               Xine input plugin for vdr-plugin-xineliboutput streams
ii  libxine2-vdr                           1.2.6-1~precise                                 VDR-related plugins for libxine2
ii  libxineliboutput-sxfe                  2.0.0+git20150220-0yavdr0~precise               Local X-Server frontend for the xineliboutput plugin
ii  vdr-plugin-xineliboutput               2.0.0+git20150220-0yavdr0~precise               VDR plugin for Xine based sofdevice frontends
ii  xineliboutput-sxfe                     2.0.0+git20150220-0yavdr0~precise               Remote X-Server frontend for vdr-plugin-xineliboutput

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #4 on: November 03, 2015, 09:20:06 am »
Packages are installed as shown.

Still libcec.so.2 is missing. I did a symlink to a existing version of libcec. Now StartVDRClient.sh does not throw errors about missing library.

Code: [Select]
dcerouter_$$$$$$$:/etc/vdr# ls /usr/lib/i386-linux-gnu/*cec* -al
lrwxrwxrwx 1 root root     39 Nov  2 22:17 /usr/lib/i386-linux-gnu/libcec.so.2 -> /usr/lib/i386-linux-gnu/libcec.so.3.0.1
lrwxrwxrwx 1 root root     15 Okt 29 18:20 /usr/lib/i386-linux-gnu/libcec.so.3.0 -> libcec.so.3.0.1
-rw-r--r-- 1 root root 550720 Okt  4 01:39 /usr/lib/i386-linux-gnu/libcec.so.3.0.1

But there is a another error when starting "StartVDRClient.sh" from the command line:

Code: [Select]
/usr/bin/vdr-sxfe: symbol lookup error: /usr/bin/vdr-sxfe:
undefined symbol: cec_initialise
vdr-sxfe 2.0.0-cvs  (build with xine-lib 1.2.2, using xine-lib 1.2.6)

Maybe versions are messed up?

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #5 on: November 03, 2015, 10:26:15 am »
well, you symlinked to a libcec version that isn't what is expected.

Please pastebin dpkg -l | grep xine

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #6 on: November 03, 2015, 12:32:25 pm »
Code: [Select]
dcerouter_$$$$$$$:/etc/vdr# dpkg -l | grep xine
ii  libxine1-xvdr                               2.0.0+git20150220-0yavdr0~precise           Xine input plugin for vdr-plugin-xineliboutput streams
ii  libxine2                                    1.2.6-1~precise1                            xine media player library – meta-package
ii  libxine2-bin                                1.2.6-1~precise1                            xine video/media player library – binary files
ii  libxine2-doc                                1.2.6-1-precise1                            xine video player library – documentation files
ii  libxine2-ffmpeg                             1.2.6-1~precise1                            MPEG-related plugins for libxine2
ii  libxine2-misc-plugins                       1.2.6-1~precise1                            Input, audio output and post plugins for libxine2
ii  libxine2-plugins                            1.2.6-1~precise1                            xine video/media player library ‒ meta-package for commonly-used plugins
ii  libxine2-vdr                                1.2.6-1~precise1                            VDR-related plugins for libxine2
ii  libxine2-x                                  1.2.6-1~precise1                            X desktop video output plugins for libxine2
ii  libxineliboutput-sxfe                       2.0.0+git20150220-0yavdr0~precise           Local X-Server frontend for the xineliboutput plugin
ii  libxinerama1                                2:1.1.1-3ubuntu0.1                          X11 Xinerama extension library
ii  pluto-xine-player                           2.0.0.46.15110231568                        <insert up to 60 chars description>
ii  pluto-xine-plugin                           2.0.0.46.15110231568                        <insert up to 60 chars description>
rc  vdr-plugin-xine                             0.9.4-16yavdr1~precise                      allows xine to be a display for vdr, the Video Disk Recorder
ii  vdr-plugin-xineliboutput                    2.0.0+git20150220-0yavdr0~precise           VDR plugin for Xine based sofdevice frontends
ii  xineliboutput-sxfe                          2.0.0+git20150220-0yavdr0~precise           Remote X-Server frontend for vdr-plugin-xineliboutput

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #7 on: November 03, 2015, 01:16:34 pm »
Looks good. Do you need the libcec for control?

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #8 on: November 03, 2015, 10:27:08 pm »
No, at the moment. How can i get rid of this?

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #9 on: November 03, 2015, 10:33:51 pm »
Looks good. Do you need the libcec for control?

CEC control would be best handled by the LinuxMCE CEC Adaptor, there could be issues if other software tries to manage CEC control as well.  I've not tested that theory but knowing how the library is used I would expect issues.  Just fyi.

J.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #10 on: November 03, 2015, 11:29:19 pm »
see what happens when you install the libcec version provided by yavdr:
Code: [Select]
apt-get install libcec2

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #11 on: November 04, 2015, 09:33:12 am »
Code: [Select]
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  libsoxr0 linphone-common libosip2-4 xcompmgr pluto-photo-screen-saver pluto-pnp-detection
  lmce-usb-gamepad lmce-squeezeslave pluto-irbase beep pluto-hald libconfuse-common pluto-add-software
  pluto-libresolution pluto-x-scripts pluto-orbiter wmctrl squeezelite pluto-shiftstate
  pluto-hal-device-finder pluto-simplephone lsscsi lmce-avwizard-skin-basic libconfuse0 libexosip2-4
  liblinphone3 libmediastreamer0 libmpg123-0 pluto-messagetrans libgraphicsmagick3 pluto-mcr-remote
  libortp8 pluto-app-server
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  libcec3 lmce-cec-adaptor lmce-hybrid lmce-md-meta pluto-avwizard
Die folgenden NEUEN Pakete werden installiert:
  libcec2
0 aktualisiert, 1 neu installiert, 5 zu entfernen und 0 nicht aktualisiert.
Es müssen 214 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 10,0 MB Plattenplatz freigegeben.
Möchten Sie fortfahren [J/n]?

Installing libcec2 will remove some lmce/pluto-packages...

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #12 on: November 04, 2015, 10:58:52 am »
damn those auto-installed packages. Seems like the move to libcec.3 is really causing issues with the current VDR packages.

phenigma,

before going on a hunt, what is currently using libcec3?

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #13 on: November 04, 2015, 05:29:51 pm »
The CEC Adaptor is using libcec3 for bug fixes and improved control on many manufacturer's devices.  The debian packaging has a conflict set for libcec2, I'm not sure why the pulse-eight people added that.

I thought you said the libcec2 error was a non-issue?  Has that changed?

J.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Fresh install 12.04:VDR not working ("libcec.so.2")?
« Reply #14 on: November 04, 2015, 05:55:36 pm »
After thinking about this some more I think we should remove the conflict in the libcec3 packaging and see if they'll live side by side without issue.  Again, I'm not sure why pulse-eight put that conflict in place but with separate library version it's likely they will co-exist nicely.

I'd still be concerned about the possibility of the vdr and cec adaptor devices fighting over the CEC bus.

J.