View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: XBMC Trouble
PostPosted: Tue Aug 03, 2010 9:24 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2010 5:59 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2010 7:05 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Aug 08, 2010 10:19 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2010 12:49 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2010 1:00 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Mon Aug 09, 2010 2:47 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Aug 15, 2010 4:06 am 
Offline
Joined: Sat Aug 14, 2010 7:13 pm
Posts: 11
Darn, I have the same error!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 16, 2010 6:37 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Aug 22, 2010 2:42 pm 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
Update: I followed the instructions at: http://sshcs.com/xbmc/?mode=Info&Area=XBMC and downloaded the libcdio.so.7 into the xbmc directory and symlinked it to /usr/lib/libcdio.so.7. XBMC seems to work now!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 25, 2010 10:43 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Aug 25, 2010 10:57 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Thu Aug 26, 2010 11:37 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sat Sep 11, 2010 8:14 pm 
Offline
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!!!! :D


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 153 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu