LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Library issues with Flash 10.0 r15 on Debian lenny/sid (https://www.linuxquestions.org/questions/debian-26/library-issues-with-flash-10-0-r15-on-debian-lenny-sid-702481/)

TheOneKEA 02-05-2009 08:20 AM

Library issues with Flash 10.0 r15 on Debian lenny/sid
 
I'm currently having major issues getting 32-bit Flash 10 to work properly on my Debian lenny/sid installation with a 32-bit Firefox installation, and everything points towards issues with libraries.

I first ran ldd on libflashplayer.so and found that several libraries were missing, so I used the dpkg -X trick to install the required libraries to /emul/ia32-linux, then ran ldd again and saw that ldconfig had picked them up and that the Flash plugin's dependencies were complete. However, whenever I try to load a page with Flash now, the browser simply crashes. I'm using this browser version:

Code:

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6
ldd prints the following when run on libflashplayer.so, after I installed the missing 32-bit libraries:

Code:

        linux-gate.so.1 =>  (0xf7f78000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf73fc000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf73e5000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf72f9000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf72ea000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf729a000)
        libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf722b000)
        libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf7202000)
        libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf6e8c000)
        libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf6e08000)
        libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf6dec000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf6dd4000)
        libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf6dca000)
        libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf6d8c000)
        libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf6d2b000)
        libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf6cee000)
        libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf6cea000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf6ce6000)
        libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6c36000)
        libnss3.so => /usr/lib32/libnss3.so (0xf6b56000)
        libsmime3.so => /usr/lib32/libsmime3.so (0xf6b38000)
        libssl3.so => /usr/lib32/libssl3.so (0xf6b10000)
        libplds4.so => /usr/lib32/libplds4.so (0xf6b0d000)
        libplc4.so => /usr/lib32/libplc4.so (0xf6b09000)
        libnspr4.so => /usr/lib32/libnspr4.so (0xf6ad5000)
        libm.so.6 => /lib32/libm.so.6 (0xf6ab1000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6aa4000)
        libc.so.6 => /lib32/libc.so.6 (0xf6951000)
        /lib/ld-linux.so.2 (0xf7f79000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf694e000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6949000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf6941000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf692a000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf6914000)
        libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf68f4000)
        libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf68f1000)
        libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf68ee000)
        libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf68e9000)
        libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf68e0000)
        libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf68dd000)
        libXi.so.6 => /usr/lib32/libXi.so.6 (0xf68d5000)
        libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf68cf000)
        libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf68c6000)
        libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf689d000)
        libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf687a000)
        libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf6851000)
        libselinux.so.1 => /lib32/libselinux.so.1 (0xf6838000)
        libpcre.so.3 => /usr/lib32/libpcre.so.3 (0xf6811000)
        libnssutil3.so.1d => /emul/ia32-linux/usr/lib/libnssutil3.so.1d (0xf67fc000)

file prints the following for libflashplayer.so and the primary Firefox binary:

Code:

/tmp/libflashplayer.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Code:

Software/firefox/firefox-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped
Am I missing additional libraries that ldd is not finding? Is there something else I need to set up?

craigevil 02-05-2009 03:49 PM

Best bet is to either use sid repos or debian-multimedia.org.

If you use sid apt-get install flashplugin-nonfree if you use dmm apt-get install flashplayer-mozilla

Which ever way you choose you will also want to install libcurl3-gnutls.

Using apt/aptitude rather than installing from Adobe will also install any needed dependencies.

If your using Firefox rather than iceweasel just copy the plugin from /usr/lib/mozilla/plugins/ to where ever you have the Firefox plugin folder or to ~.mozilla/plugins

TheOneKEA 02-05-2009 07:36 PM

Quote:

Originally Posted by craigevil (Post 3433469)
Best bet is to either use sid repos or debian-multimedia.org.

If you use sid apt-get install flashplugin-nonfree if you use dmm apt-get install flashplayer-mozilla

My sources.list must be broken, as apt-get doesn't locate either of those. I could download it manually though...

Quote:

Originally Posted by craigevil (Post 3433469)
Which ever way you choose you will also want to install libcurl3-gnutls.

Using apt/aptitude rather than installing from Adobe will also install any needed dependencies.

If your using Firefox rather than iceweasel just copy the plugin from /usr/lib/mozilla/plugins/ to where ever you have the Firefox plugin folder or to ~.mozilla/plugins

I've always been copying the Flash plugin into the plugins/ directory under the Firefox installation directory, and it's crashed every time. Installing libcurl3-gnutls to /emul/ia32-linux with the dpkg -X trick didn't help either.

craigevil 02-05-2009 07:52 PM

You need contrib non-free in your sources.list

deb http://http.us.debian.org/debian/ unstable main contrib non-free

or if your wanting to use debian-multimedia.org

deb http://www.debian-multimedia.org sid main

brennino 04-24-2009 06:48 AM

Hi, I also have problems with flash player on Debian lenny. Thanks of my arch Linux installed on another my pc I found the dependences of the flash player.

My problem is that flash always crash when I visit a flash site.

The dependences that I found are: libxt gtk2 nss curl
My Lenny is a fresh Lenny so I only have standard system and fluxbox installed.

On my Lenny I haven't libcurl installed so "aptitude install curl" solve my problem. I put the libflashplayer.so in ~/.mozilla/plugins (with the s as last letter).

Try to install libxt, gtk2, nss and curl before.

I hope this helps

Bye

Bre

mushroomboy 08-05-2009 09:08 PM

Hey...
 
Why don't you install nspluginwrapper, currently under Squeeze I've gotten it to work. I'm running Iceweasel 3.5.1 with nspluginswrapper (9.91.4). At first I had a libpixman error, but I just grabbed the i386 deb and installed it into /emul/ia32-linux (actually I was lazy and just got opened up the deb and copied/pasted). I hate dealing with cmd when really tired. Anyways, that cleared up my nspluginwrapper -i problem. Other than that Squeeze is running fine.

Oh and I'm just using the standard ftp.us.debian.org repo's

mushroomboy 08-07-2009 03:15 PM

Quote:

Originally Posted by brennino (Post 3519446)
Hi, I also have problems with flash player on Debian lenny. Thanks of my arch Linux installed on another my pc I found the dependences of the flash player.

My problem is that flash always crash when I visit a flash site.

The dependences that I found are: libxt gtk2 nss curl
My Lenny is a fresh Lenny so I only have standard system and fluxbox installed.

On my Lenny I haven't libcurl installed so "aptitude install curl" solve my problem. I put the libflashplayer.so in ~/.mozilla/plugins (with the s as last letter).

Try to install libxt, gtk2, nss and curl before.

I hope this helps

Bye

Bre

That's an issue with the 64bit flash player, as it is known to be buggy and crash on various sites. I know hulu crashes it constantly, so does myspace, facebook (at times) and various other flash sites. Though the odd thing is, if you go straight to a video on hulu without loading the main paige (hulu.com) you can watch the video w/o crashing. So far I think it's due to flash advertisements, but I'm not sure exactly what causes them to crash.


All times are GMT -5. The time now is 09:17 AM.