Immediate crash after upgrade from 10.04 to 12.04
#1
Was running Froyo on 10.04 from the alternate repo on the download page and it was working well. Upgraded to 12.04 and xbmc dies immediately. Looking at the log, I see an error related to not finding librtmp.so.0

Code:
23:44:50 T:2984257344  NOTICE: DONE initializing playlistplayer
23:44:50 T:2984257344  NOTICE: initialize done
23:44:50 T:2984257344  NOTICE: Running the application...
23:44:50 T:2984257344  NOTICE: ES: Starting event server
23:44:50 T:2926390080  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
23:44:50 T:2926390080  NOTICE: UDP: Listening on port 9777
23:44:50 T:2984257344  NOTICE: starting zeroconf publishing
23:44:50 T:2975370048   ERROR: Unable to load libcurl-gnutls.so.4, reason: librtmp.so.0: cannot open shared object file: No such file or directory
23:44:50 T:2808572736   ERROR: Previous line repeats 1 times.
23:44:50 T:2808572736  NOTICE: -->Python Interpreter Initialized<--

I completely removed the old xbmc froyo, downloaded from the default 12.04 repos but it still crashed. I then tried to download xbmc from the xmbc repos rather than the 12.04 repo. Was following the instructions to add the xbmc repo and ran into this

sudo add-apt-repository ppa:team-xbmc/ppa

this is the error I see

Code:
sudo add-apt-repository ppa:team-xbmc/ppa
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 8, in <module>
    from softwareproperties.SoftwareProperties import SoftwareProperties
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 53, in <module>
    from ppa import AddPPASigningKeyThread, expand_ppa_line
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 31, in <module>
    import pycurl
ImportError: librtmp.so.0: cannot open shared object file: No such file or directory

What package does librtmp come from and how can I update it to fix these two errors?
Reply
#2
Quote:23:44:50 T:2975370048 ERROR: Unable to load libcurl-gnutls.so.4, reason: librtmp.so.0: cannot open shared object file: No such file or directory

sudo apt-get update && sudo apt-get upgrade

i don't know how you installed it, but you are missing a whole lot of dependencies
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
(2013-09-20, 08:07)fritsch Wrote: sudo apt-get update && sudo apt-get upgrade

i don't know how you installed it, but you are missing a whole lot of dependencies

That brought in

libsmbclient libsyncdaemon-1.0-1 libwbclient0 python-ubuntuone-client samba samba-common samba-common-bin smbclient ubuntuone-client

I had tried those commands earlier, but unforutnately, this error remains

ImportError: librtmp.so.0: cannot open shared object file: No such file or directory

I just a standard upgrade to 12.04 from 10.04 via the ubuntu Software Package GUI (or whatever it was called in 10.04)
Reply
#4
Yeah - just make a nice new installation :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
sudo apt-get install librtmp0
Reply
#6
Tried to install that package and get this error

librtmp0 is already the newest version.

should I remove and then install it again?
Reply
#7
worth a try.
and also run sudo apt-get install -f
Reply
#8
(2013-09-20, 14:46)wsnipex Wrote: worth a try.
and also run sudo apt-get install -f

Tried that long before posting on this board. Thanks for the tip :-)

Removing it is a little complex as there are many package dependencies. Couple of additional questions:

1. Where is binary located in the filesystem?
2. Could someone post the filesize for the latest rev for 12.04?
3. Would this package typically come in when installing xbmc or does it come with the base ubuntu install/upgrade?

I'd like to see if its not there at or if I just have the wrong revision (even though the package manager thinks it up to date). Its starting to look like I'll have to edit the package status file and remove this entry to uninstall it.
Reply
#9
Code:
tom@xbmc:~$ ls -l /usr/lib/i386-linux-gnu/librtmp.so.0
-rw-r--r-- 1 root root 104356 Apr 30  2012 /usr/lib/i386-linux-gnu/librtmp.so.0
tom@xbmc:~$ md5sum /usr/lib/i386-linux-gnu/librtmp.so.0
0cbb4b82e4fec6b00542fe909c657cb8  /usr/lib/i386-linux-gnu/librtmp.so.0
I have added some non-standard packages on top of the libe install, so not sure if it came with the vanilla install.
Reply
#10
(2013-09-20, 18:31)thd042 Wrote: I have added some non-standard packages on top of the libe install, so not sure if it came with the vanilla install.

What is the libe package? Not familiar with that.
Reply
#11
Some additional background to how I got into this problem.

Was running 10.04 w/Eden (I think) and couldn't get bitsreaming to work, so I decided to try Froyo from here:

https://launchpad.net/~nathan-renniewald...bmc-stable

Didn't solve the problem so I decided to upgrade the HTPC to 12.04 to solve this and get on a more recent distro. When I upgraded xbmc to Froyo, could that have brought in the librtmp (i.e. is that a dependency that is updated along w/xbmc)?
Reply
#12
Looks like I'm not the only one who's run into this problem. Saw this over on the Ubuntu forums (there are a couple of other threads without a resolution)

http://ubuntuforums.org/showthread.php?t...librtmp.so.

The proposed solution is to create a symbolic link to the binary which appears to be in a different location than the one you referenced.

sudo ln -s /usr/lib/i486-linux-gnu/librtmp.so.0 librtmp.so.0
Reply
#13
Confirmed. The symlink solution above worked.
Reply
#14
Typo: live-install.
Reply

Logout Mark Read Team Forum Stats Members Help
Immediate crash after upgrade from 10.04 to 12.040