Problem when installing on Rasbian - missing liblirc.so.0

USB infrared remote control receiver/transmitter. Get one for $20, including worldwide shipping.

Problem when installing on Rasbian - missing liblirc.so.0

Postby bonias » Sat Oct 25, 2014 8:34 am

I got a problem when installing IRToy on Rasbian.
I got a fallowing error:
irrecord: error while loading shared libraries: liblirc.so.0: cannot open shared object file: No such file or directory

when trying this command:
irrecord -n -H irman -d /dev/ttyACM0 RemoteXXX.conf

Do you have any solutions?

Is there any in depth tutorial for installation on Rasbian with every step? Maybe I am missing something?
bonias
Newbie
Newbie
 
Posts: 1
Joined: Sat Oct 25, 2014 8:28 am

Re: Problem when installing on Rasbian - missing liblirc.so.

Postby Barf » Sat Oct 25, 2014 12:36 pm

Since, as far as I am aware, there was no liblirc.so in Lirc 0.9.1 and earlier, I conclude that you have been downloading the current sources from GIT and compiled it yourself.

The error message means that the executable cannot find a shared library that it needs. Either the latter was not installed in the proper place, or the executable cannot find it. You did "make install", not just mv-ing stuff around, did you? You may point LD_LIBRARY_PATH to the actual location of the shared library to run the contained programs, but that is not a permanent solution.

Assuming that you did follow the instructions, please report the problem, giving all relevant data, to the Lirc mailing list, see https://lists.sourceforge.net/lists/listinfo/lirc-list . You will have to subscribe before you can post.
Barf
Jr. Member
Jr. Member
 
Posts: 64
Joined: Mon Jul 07, 2014 3:12 pm

Re: Problem when installing on Rasbian - missing liblirc.so.

Postby jantum » Wed Feb 11, 2015 10:18 am

Hello,

any news on this topic. I had run into the same error.

thanks

jan
jantum
Newbie
Newbie
 
Posts: 1
Joined: Wed Feb 11, 2015 10:09 am

Re: Problem when installing on Rasbian - missing liblirc.so.

Postby Barf » Wed Feb 11, 2015 2:48 pm

jantum wrote:Hello,
any news on this topic.
jan


The news is that the current version is 0.9.2a,

Apart from that, the original problem is of the category "Linux beginner problems". I gave constructive suggestions for solving it, Did you (or the OP) even try them?
Barf
Jr. Member
Jr. Member
 
Posts: 64
Joined: Mon Jul 07, 2014 3:12 pm

Re: Problem when installing on Rasbian - missing liblirc.so.

Postby slasklitta » Sun Mar 08, 2015 4:01 pm

Nvm. I fixed the issue...
slasklitta
Newbie
Newbie
 
Posts: 7
Joined: Wed Feb 11, 2015 1:57 pm

Re: Problem when installing on Rasbian - missing liblirc.so.

Postby clueo8 » Mon Jun 08, 2015 8:32 am

Can you share how you fixed the issue? I'm running into this same error compiling/installing the latest LIRC from src, which is like 0.9.3 at the moment. I'm seeing this issue on both the Raspberry Pi (Raspbian) as well as doing the same thing on Xubuntu.
clueo8
Newbie
Newbie
 
Posts: 4
Joined: Fri Jun 05, 2015 7:05 am

Re: Problem when installing on Rasbian - missing liblirc.so.

Postby eugenet8k » Tue Mar 28, 2017 8:40 pm

I ran:

Code: Select all
sudo ldconfig


after installing lircd and it helped to remove the error liblirc.so.0: cannot open shared object file
eugenet8k
Newbie
Newbie
 
Posts: 2
Joined: Tue Mar 28, 2017 8:29 pm


Return to USB Infrared Toy