Public bug reported:

Flash was not working (neither in Firefox nor in Chromium) after
upgrading my laptop from 10.04 (Lucid) to 12.04 (Precise). It would just
display a black box in place of the flash content, also this content box
would immediately display garbled output if you scrolled the page (i.e:
you would see the content of the previously loaded content in that pixel
area but no flash content at all). Right-clicking the flash box showed
that the plugin was indeed recognized ("About Adobe Flash Player
11.2.202.243") but a grayed-out option would show "Movie not loaded".
The same problem with happened with Chromium and with previous versions
of Flash, only Flash 9 worked but it would not play any sound.

After spending more than 30 hours troubleshooting this issue, I
eventually figured out the problem. Comparing the strace output from my
upgraded 12.04 installation (which didn't work) to the strace output
from a live 12.04 USB stick (which did work), I eventually noticed that
my upgraded output was not finding the librtmp.so.0 library:

In 12.04 Live:
4325  open("/usr/lib/i386-linux-gnu/librtmp.so.0", O_RDONLY|O_CLOEXEC) = 18

In 12.04 upgraded from 10.04:
6213  open("/lib/i386-linux-gnu/librtmp.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
6213  open("/usr/lib/i386-linux-gnu/i686/sse2/librtmp.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
6213  open("/usr/lib/i386-linux-gnu/i686/cmov/librtmp.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
6213  open("/usr/lib/i386-linux-gnu/i686/librtmp.so.0", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
6213  open("/usr/lib/i386-linux-gnu/sse2/librtmp.so.0", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
6213  open("/usr/lib/i386-linux-gnu/librtmp.so.0", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
6213  open("/lib/librtmp.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file 
or directory)
6213  open("/usr/lib/sse2/librtmp.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
6213  open("/usr/lib/librtmp.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such 
file or directory)

Then I noticed that my upgraded 12.02 had librtmp.so.0 in a path that is
not being searched by Firefox/Flash:

-rw-r--r-- 1 root root 100224 Jan 11  2012 /usr/lib/i486-linux-
gnu/librtmp.so.0

The problem was then easily solved like this:

sudo cp /usr/lib/i486-linux-gnu/librtmp.so.0 /usr/lib/i386-linux-
gnu/librtmp.so.0

...and also googling around I found that a similar issue is described in 
launchpad bug #982436 affecting pycurl:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/982436

I hope you can fix the underlying issue by either copying librtmp.so.0
to the correct location or adding the /usr/lib/i486-linux-gnu/ to the
default library paths.

Sergi

** Affects: rtmpdump (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: chrome firefox flash librtmp librtmp.so.0 loaded movie not

** Package changed: pycurl (Ubuntu) => rtmpdump (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1074953

Title:
  Flash not working after upgrade from 10.04 (Lucid) to 12.04 (Precise)
  because of bad librtmp.so.0 location

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtmpdump/+bug/1074953/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to