Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: bonias on October 25, 2014, 03:34:56 pm

Title: Problem when installing on Rasbian - missing liblirc.so.0
Post by: bonias on October 25, 2014, 03:34:56 pm
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?
Title: Re: Problem when installing on Rasbian - missing liblirc.so.
Post by: Barf on October 25, 2014, 07:36:02 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 (https://lists.sourceforge.net/lists/listinfo/lirc-list) . You will have to subscribe before you can post.
Title: Re: Problem when installing on Rasbian - missing liblirc.so.
Post by: jantum on February 11, 2015, 04:18:13 pm
Hello,

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

thanks

jan
Title: Re: Problem when installing on Rasbian - missing liblirc.so.
Post by: Barf on February 11, 2015, 08:48:18 pm
[quote author="jantum"]Hello,
any news on this topic.
jan[/quote]

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?
Title: Re: Problem when installing on Rasbian - missing liblirc.so.
Post by: slasklitta on March 08, 2015, 10:01:49 pm
Nvm. I fixed the issue...
Title: Re: Problem when installing on Rasbian - missing liblirc.so.
Post by: clueo8 on June 08, 2015, 03:32:18 pm
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.
Title: Re: Problem when installing on Rasbian - missing liblirc.so.
Post by: eugenet8k on March 29, 2017, 03:40:19 am
I ran:

Code: [Select]
sudo ldconfig

after installing lircd and it helped to remove the error liblirc.so.0: cannot open shared object file

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00992073312session_write_close ( )...(null):0
20.01022204904ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01022205680Database_MySQL->query( ).../DatabaseHandler.php:119
40.05572344416Database_MySQL->error( ).../Db-mysql.class.php:273