can not import pycurl: librtmp.so.0: cannot open shared object file: No such file or directory

Bug #982436 reported by kristina gajovska
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
pycurl (Ubuntu)
Expired
Medium
Unassigned
Precise
Won't Fix
Undecided
Unassigned
Trusty
Expired
Undecided
Unassigned
Utopic
Won't Fix
Medium
Unassigned

Bug Description

when I typed this in teminal, there showed report window with this sentence

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: python-software-properties 0.82.7
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic i686
ApportVersion: 2.0.1-0ubuntu3
Architecture: i386
Date: Sun Apr 15 18:28:41 2012
ExecutablePath: /usr/bin/add-apt-repository
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository ppa:webupd8team/gnome3
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/add-apt-repository', 'ppa:webupd8team/gnome3']
SourcePackage: software-properties
Title: add-apt-repository crashed with ImportError in /usr/lib/python2.7/dist-packages/softwareproperties/ppa.py: librtmp.so.0: cannot open shared object file: No such file or directory
UpgradeStatus: Upgraded to precise on 2012-04-06 (9 days ago)
UserGroups:

Revision history for this message
kristina gajovska (cris-g) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Robert Roth (evfool) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

visibility: private → public
summary: - add-apt-repository crashed with ImportError in /usr/lib/python2.7/dist-
- packages/softwareproperties/ppa.py: librtmp.so.0: cannot open shared
- object file: No such file or directory
+ can not import pycurl: librtmp.so.0: cannot open shared object file: No
+ such file or directory
Revision history for this message
Robert Roth (evfool) wrote :

As software-properties can not import pycurl, seems like pycurl is missing a dependency on librtmp, so I am reassigning this bug to the pycurl package.

affects: software-properties (Ubuntu) → pycurl (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pycurl (Ubuntu):
status: New → Confirmed
Revision history for this message
mmalmeida (mmalmeida) wrote :

This happens to me too.

I've upgraded from 10.04 to 12.04.

On running the add-apt-repository or the rhythbox commands in the shell, I get [1]

There's also a proposed solution to it in http://metacodigo.com.ar/?p=428

[1]
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 27, in <module>
    import pycurl
ImportError: librtmp.so.0: cannot open shared object file: No such file or directory

Changed in pycurl (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Chris Roberts (chrisjrob) wrote :

A temporary fix for me was to locate librtmp.so.0 on my system and symlink it into /usr/lib/

E.g.

$ locate librtmp.so.0
/usr/lib/i486-linux-gnu/librtmp.so.0
sudo ln -s /usr/lib/i486-linux-gnu/librtmp.so.0 /usr/lib/librtmp.so.0

Revision history for this message
R. C. Pao (rcpao) wrote :

Another short term fix (in case there are any other library packages that also install to that directory):
sudo -s
echo "/usr/lib/i486-linux-gnu" > /etc/ld.so.conf.d/librtmp0.conf
ldconfig
exit

Revision history for this message
Levy (michel-levy) wrote :

I have the same error with /usr/bin/jockey-gtk and synaptic and psensor (and maybe with other software).
ImportError: librtmp.so.0: file not found.

Revision history for this message
Levy (michel-levy) wrote :

Thanks to Chris Roberts, its fix works perfectly for jockey-gtk, synaptic, psensor.
All these errors are related to this change in the adress of librtmp.so.0

Revision history for this message
Mossroy (mossroy) wrote :

I faced this same error on a 12.04.2 upgraded from 10.04.
It also prevented Flash content to be displayed (in any browser) : the browser displayed an empty content (certainly because Flash crashed).
The symbolic link workaround worked for me.

Revision history for this message
JuanLuisCaPr (jljuanluis) wrote :

Thank you Chris Roberts.
I faced this same error on a 12.04.2 upgraded from 10.04.
The impress service didn't work
The symbolic link workaround worked for me.
Now I can see printer and print from Libreoffice

Revision history for this message
Barry Warsaw (barry) wrote :

Has anybody noticed this problem on 14.04 or 14.10? Seems like there's been no additional comments in over a year and I suspect the newer versions of pycurl do not suffer this problem.

Changed in pycurl (Ubuntu Utopic):
status: Confirmed → Incomplete
Changed in pycurl (Ubuntu Trusty):
status: New → Incomplete
Revision history for this message
Rolf Leggewie (r0lf) wrote :

utopic has seen the end of its life and is no longer receiving any updates. Marking the utopic task for this ticket as "Won't Fix".

Changed in pycurl (Ubuntu Utopic):
status: Incomplete → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pycurl (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in pycurl (Ubuntu Precise):
status: Confirmed → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pycurl (Ubuntu Trusty) because there has been no activity for 60 days.]

Changed in pycurl (Ubuntu Trusty):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pycurl (Ubuntu) because there has been no activity for 60 days.]

Changed in pycurl (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.