Author |
Message |
dickwyn
|
Posted: Tue Aug 03, 2010 9:24 pm |
|
Joined: Tue Jun 15, 2010 9:54 pm
Posts: 31
Location:
Bendigo, Vic, Australia
|
After updating LinHes, my XBMC won't run anymore.
I am getting the following error message:
Quote: [mythtv@dick ~]$ xbmc Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". /usr/share/xbmc/xbmc.bin: error while loading shared libraries: libcdio.so.7: cannot open shared object file: No such file or directory
It used to work fine until I updated with:
sudo pacman -Sy pacman
sudo pacman -Syu
Have I done something wrong? All help highly appreciated.
|
|
Top |
|
|
nmcaullay
|
Posted: Sun Aug 08, 2010 5:59 pm |
|
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location:
Perth, Australia
|
hi there, im afraid this is a mee too, with a slightly different entry point...
I used pacman to install xmbc the other week, and got the same error message. this was the first time I have tried to get xbmc working, but the missing/incorrect dependency led me to give up... I thought it was just broken?
heres hoping someone has an idea, it would be cool to try this frontend.
Nathan
_________________ LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector
|
|
Top |
|
|
dickwyn
|
Posted: Sun Aug 08, 2010 7:05 pm |
|
Joined: Tue Jun 15, 2010 9:54 pm
Posts: 31
Location:
Bendigo, Vic, Australia
|
Thanks for your answer. Anybody please can explain or has a solution??
Thanks in advance!
|
|
Top |
|
|
manicmike
|
Posted: Sun Aug 08, 2010 10:19 pm |
|
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location:
Melbourne, Australia
|
dickwyn wrote: Thanks for your answer. Anybody please can explain or has a solution?? Thanks in advance!
Hello Dick,
I don't have XBMC but a likely explanation is that it was built requiring libcdio.so.7. You upgraded via pacman and this library was likely replaced with a newer version. It is well documented if you search for your error message. http://github.com/akezeke/spotyxbmc/issues#issue/26 is one example. Some people 'solved' the problem by upgrading, but if it's a pacman package and there isn't a newer one, you won't have that option unless you want to try and build one yourself.
Like I said, I don't have xbmc, but if I did here's what I would try:
1. "locate libcdio.so" (type it in an xterm)
You will probably get a couple of results there (always at least two). There will be one just called "libcdio.so", which is incidentally what the software should have required. This is a symbolic link to the 'real' library, which is probably now libcdio.so.8.
2. Create a fake file as root using the newer version of libcdio in the same directory as the other libraries found with the locate command above.
All you have to do here is to create another symbolic link and give it the same name as the file xbmc is looking for.
E.g. ln -s /usr/lib/libcdio.so /usr/lib/libcdio.so.7
Symbolic links are aliases that point to real files, or other symbolic links. In this case, the latter. The syntax is "ln -s <what-you-are-linking-to> <the-link>".
Start xbmc now. If it still complains about the file being missing, just run (as root) ldconfig, which re-links libraries so applications can find them.
I'm totally working from memory here, so if in doubt, Google is your friend.
If this doesn't work, you may be out of options for now.
Mike
_________________ ********************* LinHES 7.4 Australian Dragon *********************
|
|
Top |
|
|
dickwyn
|
Posted: Mon Aug 09, 2010 12:49 am |
|
Joined: Tue Jun 15, 2010 9:54 pm
Posts: 31
Location:
Bendigo, Vic, Australia
|
Thanks very much Mike, I will read and reread your answer several times and backup my system before trying this!!
Dick
|
|
Top |
|
|
nmcaullay
|
Posted: Mon Aug 09, 2010 1:00 am |
|
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location:
Perth, Australia
|
I didnt fancy starting down the symbolic link track, as i try to keep things mostly out-of-the-box. Saves trying to remember what you changed.
I'm not sure if my memory serves me correctly, but the package author (nharris i think), might see this thread, and reply. The XBMC update was fairly frequent at one stage (on another thread in this forum), so maybe this thread will catch his eye, and he can have a squizz?
You never know, the devs on this forum are pretty accomodating peoples.
Cheers,
Nathan
_________________ LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector
|
|
Top |
|
|
dickwyn
|
Posted: Mon Aug 09, 2010 2:47 am |
|
Joined: Tue Jun 15, 2010 9:54 pm
Posts: 31
Location:
Bendigo, Vic, Australia
|
Thanks very much mate, let's hope he will chime in!
|
|
Top |
|
|
Big_D_271
|
Posted: Sun Aug 15, 2010 4:06 am |
|
Joined: Sat Aug 14, 2010 7:13 pm
Posts: 11
|
Darn, I have the same error!
|
|
Top |
|
|
DoomedTX
|
Posted: Mon Aug 16, 2010 6:37 pm |
|
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location:
GA, USA
|
Unfortunately the symlink doesn't fix the problem. In fact, I got the same result as when I symlinked it directly to the current version which is libcdio.so.12:
Code: $ sudo ln -s /usr/lib/libcdio.so /usr/lib/libcdio.so.7 $ xbmc
/usr/share/xbmc/xbmc.bin: /usr/lib/libcdio.so.7: version `CDIO_7' not found (required by /usr/share/xbmc/xbmc.bin)
So I guess we're out of luck for now. I'll keep checking for updates.
|
|
Top |
|
|
DoomedTX
|
Posted: Sun Aug 22, 2010 2:42 pm |
|
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location:
GA, USA
|
|
Top |
|
|
dickwyn
|
Posted: Wed Aug 25, 2010 10:43 pm |
|
Joined: Tue Jun 15, 2010 9:54 pm
Posts: 31
Location:
Bendigo, Vic, Australia
|
Thanks very much doomed, will try that!
Another question, how do you people switch between LinHes and XBMC?
I just go Alt+X and type xbmc.
Is there a more elegant way of starting XBMC??
|
|
Top |
|
|
DoomedTX
|
Posted: Wed Aug 25, 2010 10:57 pm |
|
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location:
GA, USA
|
dickwyn wrote: Thanks very much doomed, will try that!
Another question, how do you people switch between LinHes and XBMC?
I just go Alt+X and type xbmc.
Is there a more elegant way of starting XBMC??
I put it in the same menu as Recordings and Videos: /usr/share/mythtv/themes/defaultmenu/library.xml. I just inserted this into the file:
Code: <button> <type>MENU_XBMC</type> <text>Go to XBMC</text> <action>EXEC /usr/share/xbmc/xbmc.bin</action> </button>
|
|
Top |
|
|
dickwyn
|
Posted: Thu Aug 26, 2010 11:37 pm |
|
Joined: Tue Jun 15, 2010 9:54 pm
Posts: 31
Location:
Bendigo, Vic, Australia
|
Thanks very much, have not tried it yet but I will coming weekend.
|
|
Top |
|
|
RacerX
|
Posted: Sat Sep 11, 2010 8:14 pm |
|
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
|
I did a little testing of the issue tonight and here are my results
Currently the XBMC package works correctly under R6.02
When you run
Code: sudo pacman -Sy linhes-scripts XBMC works fine However, when you run the upgrade to 6.03 Code: sudo upgrade_linhes.sh XBMC crashes after startup Quote: Xlib: extension "Generic Event Extension" missing on display ":0.0". Xlib: extension "Generic Event Extension" missing on display ":0.0". /usr/share/xbmc/xbmc.bin: error while loading shared libraries: libcdio.so.7: cannot open shared object file: No such file or directory
Using Xedit I checked /usr/lib/ libcdio.so.7 does not exist To fix the problem you need to download it [url]sudo wget http://www.sshcs.com/xbmc/deps/libcdio.so.7[/url] Copy the file to /usr/share/xbmc Code: sudo cp ./libcdio.so.7 /usr/share/xbmc Then create a symbolic link Code: sudo ln -s /usr/share/xbmc/libcdio.so.7 /usr/lib/libcdio.so.7 This fixes XBMC Next, DoomTX has a nice suggestion to kickoff XBMC from inside of myth. edit usr/share/mythtv/themes/defaultmenu/library.xml add this Code: <button> <type>MENU_XBMC</type> <text>Go to XBMC</text> <action>EXEC /usr/share/xbmc/xbmc.bin</action> </button>
This allows you run XMBC from a button inside of myth
Thanks!!!!
|
|
Top |
|
|