Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
terminal/shell can´t find libcec
25th Nov, 2016, 05:02 AM
Post: #1
terminal/shell can´t find libcec
Hello,

I am currently working on my house automation (FHEM) and would like to integrate my TV (turn the TV on and off)
For this I would like to use Xbian/Kodi and the module libcec, which I can control via ssh.
The command to turn on the TV on is: 'echo' on 0 "| Cec-client -s'
and to turn it off: 'echo' standby 0 "| Cec-client -s'

My problem is when I use cec-client to access ceclib Xbian could not find the module:
Terminal
xbian@RPi2 ~ $ echo "on 0" | cec-client -s
libcec.so.4: cannot open shared object file: No such file or directory
Cannot load libcec.so
xbian@RPi2 ~ $ echo "standby 0" | cec-client -s
libcec.so.4: cannot open shared object file: No such file or directory
Cannot load libcec.so

But libcec is there, if i want to install it i get the message it is already present.
I found the 4 moduls at /usr/lib/arm-linux-gnueabihf:
Terminal
libcec.so.3
libcec.so.3.1.0
libcec.so.4.0
libcec.so.4.0.0

Also the cec-modul works great with my remote control of my TV an xbian/Kodi, so i cant figure out why xbian says it cant find the moduls
Find all posts by this user
Quote this message in a reply
25th Nov, 2016, 05:33 AM (This post was last modified: 25th Nov, 2016 05:35 AM by Nachteule.)
Post: #2
RE: terminal/shell can´t find libcec
libcec4 is still devel Exclamation Seems that cec-client is broken, will have to look into.

Kodi (the versions on our repositories) does not require libcec4, so you can remove them and use libcec3 packages
Find all posts by this user
Quote this message in a reply
25th Nov, 2016, 05:41 AM
Post: #3
RE: terminal/shell can´t find libcec
Workaround:

Terminal

cd /usr/lib/arm-linux-gnueabihf
sudo ln -s libcec.so.4.0 libcec.so.4
Find all posts by this user
Quote this message in a reply
25th Nov, 2016, 06:44 AM
Post: #4
RE: terminal/shell can´t find libcec
imagen how fast you response, respect!

I had forgotten to say that i use the develrepo for Kodi 17,
but workaround works Smile

big thanks!
Find all posts by this user
Quote this message in a reply
25th Nov, 2016, 09:23 AM
Post: #5
RE: terminal/shell can´t find libcec
Fixed in sources, new packages has been built and are available on repositories
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: