You are not logged in.

#1 2010-12-29 08:05:42

colbert
Member
Registered: 2007-12-16
Posts: 809

[SOLVED] strange lirc error on update

Just updated laptop, using lirc 0.9.0.pre1-3 and get this:


I first had this error:

└─> sudo /etc/rc.d/lircd restart
:: Stopping LIRC Daemon    [FAIL] 
:: Starting LIRC Daemon      [BUSY]
/usr/sbin/lircd: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
                                             [FAIL]

So I did:

sudo ln -s /usr/lib/libusb-1.0.so /usr/lib

Then am getting this now:

└─> sudo /etc/rc.d/lircd restart
:: Stopping LIRC Daemon     [FAIL] 
:: Starting LIRC Daemon       [BUSY] /usr/sbin/lircd: symbol lookup error: /usr/sbin/lircd: undefined                            
                                              [FAIL]

Last edited by colbert (2010-12-30 20:27:38)

Offline

#2 2010-12-29 09:27:11

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [SOLVED] strange lirc error on update

Your update must have included the transition to libusb 1.0.  The libusb library that lirc wants is in libusb-compat now:

$ pacman -Qo /usr/lib/libusb-0.1.so.4
/usr/lib/libusb-0.1.so.4 is owned by libusb-compat 0.1.3-1

lirc works fine here.

Offline

#3 2010-12-30 07:49:41

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] strange lirc error on update

Dang, when I run that pacman line I don't get anything sad How might I go about fixing this?

Offline

#4 2010-12-30 11:09:47

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [SOLVED] strange lirc error on update

is the package installed?

pacman -Qs libusb-compat 

if not try to install it wink

pacman -S libusb-compat 

Offline

#5 2010-12-30 12:14:52

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [SOLVED] strange lirc error on update

And don't neglect to delete any experimental symlinks before installing libusb-compat ;-)

Offline

#6 2010-12-30 20:27:13

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] strange lirc error on update

Ha! It was already installed but I just reinstalled it (after deleting my symlink, thanks azleifel big_smile) and now it works! smile Thanks a lot fellas!

Offline

Board footer

Powered by FluxBB