Wednesday, May 27, 2009

Xbox Media Center: ccxstream

So I modded my xbox a while back, basically turning it into a media center. I keep TV shows, movies, and games on it. It's pretty handy. Any way, it only has a 200 GB hard drive in it, and a while back I discovered a program called ccxstream that allows me to use another computer as a media server, thus making the xbox's hard drive as big as any server it can connect to.

Any way, after upgrading to 64 bit Ubuntu a while back and trying to run ./ccxstream from command line, I got this error:

bryan@SERVER-UBUNTU:~/$ ./ccxstream
./ccxstream: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory


I've gotten this error before and since then forgot how to fix it, so I'm putting it up here in case I one day forget again. The fix for this problem is to install the appropriate libreadline file, which can be done by:

bryan@SERVER-UBUNTU:~/$ sudo apt-get install lib32readline5
Reading package lists... Done
Building dependency tree
Reading state information... Done
lib32readline5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bryan@SERVER-UBUNTU:~/$


The key is that it's the 32-bit libreadline file. The one the 64-bit OS looks to is the 64-bit readline file, which my version of ccxstream doesn't like.

No comments:

Post a Comment