Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[solved] Flash in Firefox on AMD64

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
wilsonsamm
Apprentice
Apprentice
Posts: 196
Joined: Sat Jul 12, 2008 9:43 pm

[solved] Flash in Firefox on AMD64

  • Quote

Post by wilsonsamm » Sat Aug 14, 2010 4:46 pm

How do we do this these days? On my system, it was working untill recently when adobe released version 10.1 or something.

nspluginwrapper is installed on my system. I don't know what it's role is, and it hasn't made any visible impact on the about:plugins page in my firefox. Do I need to use firefox-bin or is (self-compiled) firefox OK too?
Last edited by wilsonsamm on Sun Aug 15, 2010 6:24 pm, edited 1 time in total.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sat Aug 14, 2010 5:39 pm

Code: Select all

emerge adobe-flash nspluginwrapper
suggest emerge nspluginwrapper anytime browser plugins go strange
there is a harder way to replugin the 32 bit plugins, why bother?
Top
khippy
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Thu Aug 29, 2002 8:32 pm
Location: Braunschweig - Germany
Contact:
Contact khippy
Website

Re: Flash in Firefox on AMD64

  • Quote

Post by khippy » Sat Aug 14, 2010 8:44 pm

wilsonsamm wrote:How do we do this these days? On my system, it was working untill recently when adobe released version 10.1 or something.

nspluginwrapper is installed on my system. I don't know what it's role is, and it hasn't made any visible impact on the about:plugins page in my firefox. Do I need to use firefox-bin or is (self-compiled) firefox OK too?
Same here. I had seamonky 64bit compiled running adobe flash perfectly without any problems by using nspluginwrapper so far, but the latest system/world update shreddered flash completely. Even firefox-bin 32-bit does not show flash videos anymore, even http://www.macromedia.com/support/docum ... ger07.html refuses to work.

Each and every flash object has if I righ click it
Movie not loaded ...
About Adobe Flash Player 10 ...
If I start firefox-bin or seamonky from xterm, then I see this warning/error:
Adobe Flash Player error: could not load cURL library

Note, that firefox-bin located at /opt does not carry any curl libraries with it and I only have 64 bit curl libs at my system. That is the error I assume. Can anybody verify that?
--
there are no silly questions
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

Re: Flash in Firefox on AMD64

  • Quote

Post by BitJam » Sat Aug 14, 2010 9:21 pm

khippy wrote:If I start firefox-bin or seamonky from xterm, then I see this warning/error:
Adobe Flash Player error: could not load cURL library

Note, that firefox-bin located at /opt does not carry any curl libraries with it and I only have 64 bit curl libs at my system. That is the error I assume. Can anybody verify that?
Firefox-bin with Flash works fine** on my amd64 system. I am using nspluginwrapper. Did you emerge adobe-flash with the multilib USE flags enabled? Oddly enough, my adobe-flash has multilib enabled but nspuginwrapper disabled yet it seems to work fine.**

I don't have any libcurl's under /opt/firefox. But I do have a /usr/lib32/libcurl.so that is part of the app-emulation/emul-linux-x86-baselibs package that was brought in by firefox-bin (and a bunch of other packages).

**Well, flash is a little crashy so I have a button on my desktop to killall libflashplayer.so. When I'm done with one tv episode and I remember to hit this button before playing the next episode then I avoid the crashes.
Top
khippy
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Thu Aug 29, 2002 8:32 pm
Location: Braunschweig - Germany
Contact:
Contact khippy
Website

  • Quote

Post by khippy » Sat Aug 14, 2010 9:38 pm

Oops, locate wasn't telling the truth (I have to investigate why), I do have /usr/lib32/libcurl.so, too.
$ emerge -pv adobe-flash

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] www-plugins/adobe-flash-10.1.82.76-r1 USE="(multilib) nspluginwrapper" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
So now, I am lost. Why the heck does adobe-flash report a problem with curl, here?
--
there are no silly questions
Top
dmpogo
Advocate
Advocate
Posts: 3711
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

Re: Flash in Firefox on AMD64

  • Quote

Post by dmpogo » Sat Aug 14, 2010 9:57 pm

wilsonsamm wrote:How do we do this these days?
I continue to use amd64 10.0
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Sat Aug 14, 2010 10:02 pm

Here is the output of nspluginwrapper -l on my system:

Code: Select all

$ nspluginwrapper -l
/usr/lib/nsbrowser/plugins/npwrapper.libflashplayer.so
  Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
  Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
  Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
  Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
  Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
  Wrapper version string: 1.3.0
Do you have something similar? Also, someone had the same problem on slackware and it was caused by problems with some pango files under /etc/. Here is the contents of my /etc/pango:

Code: Select all

 ls -R /etc/pango
/etc/pango:
i686-pc-linux-gnu/  pangox.aliases  x86_64-pc-linux-gnu/

/etc/pango/i686-pc-linux-gnu:
pango.modules

/etc/pango/x86_64-pc-linux-gnu:
pango.modules
The /etc/pango/i686-pc-linux-gnu/pango.modules file does not belong to any package (according to equery). Perhaps the running of some program generates that file.
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Sat Aug 14, 2010 10:09 pm

Google(/etc/pango/i686-pc-linux-gnu) found this post that suggests you do:

Code: Select all

# pango-querymodules32  > /etc/pango/i686-pc-linux-gnu/pango.modules
Top
khippy
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Thu Aug 29, 2002 8:32 pm
Location: Braunschweig - Germany
Contact:
Contact khippy
Website

  • Quote

Post by khippy » Sat Aug 14, 2010 11:01 pm

The content of my /etc/pango/i686-pc-linux-gnu/pango.modules already equals to pango-querymodules32.
# nspluginwrapper -l
/usr/lib/seamonkey/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/seamonkey/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib/nsbrowser/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
looks well to me.

In between I have strace -fo out firefox-bin and concerning curl I have:
32701 open("/opt/firefox/libcurl.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl.so.4", O_RDONLY) = 14
32701 open("/opt/firefox/libcurl-gnutls.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/lib32/libcurl-gnutls.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl-gnutls.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/opt/firefox/libcurl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/lib32/libcurl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/opt/firefox/libcurl-gnutls.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/lib32/libcurl-gnutls.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl-gnutls.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/opt/firefox/libcurl.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
/usr/lib32/libcurl.so.4 is available and the only hit.

Code: Select all

# file /usr/lib32/libcurl.so.4
/usr/lib32/libcurl.so.4: symbolic link to `libcurl.so.4.2.0'
# file /usr/lib32/libcurl.so.4.2.0
/usr/lib32/libcurl.so.4.2.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
# ldd /usr/lib32/libcurl.so.4.2.0
        linux-gate.so.1 =>  (0xffffe000)
        libldap-2.4.so.2 => /usr/lib32/libldap-2.4.so.2 (0xf7702000)
        librt.so.1 => /lib32/librt.so.1 (0xf76d4000)
        libgssapi_krb5.so.2 => /usr/lib32/libgssapi_krb5.so.2 (0xf76ab000)
        libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xf7621000)
        libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xf75fc000)
        libcom_err.so.2 => /lib32/libcom_err.so.2 (0xf75f8000)
        libresolv.so.2 => /lib32/libresolv.so.2 (0xf75e3000)
        libssl.so.0.9.8 => not found
        libcrypto.so.0.9.8 => not found
        libdl.so.2 => /lib32/libdl.so.2 (0xf75de000)
        libz.so.1 => /lib32/libz.so.1 (0xf75cb000)
        libc.so.6 => /lib32/libc.so.6 (0xf7485000)
        liblber-2.4.so.2 => /usr/lib32/liblber-2.4.so.2 (0xf7478000)
        libssl.so.0.9.8 => not found
        libcrypto.so.0.9.8 => not found
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf745e000)
        /lib/ld-linux.so.2 (0x4b28d000)
        libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xf7456000)
Do you guys where adobe-flash runs fine have these USE flags for net-misc/curl-7.21.0? USE="gnutls ipv6 ldap ssl threads"?

ready with revdep-rebuilding
...looks good:
* Checking dynamic linking consistency
[ 29% ] * broken /usr/lib32/GConf/2/libgconfbackend-evoldap.so (requires libcrypto.so.0.9.8 libssl.so.0.9.8)
[ 33% ] * broken /usr/lib32/krb5/plugins/preauth/pkinit.so (requires libcrypto.so.0.9.8)
[ 35% ] * broken /usr/lib32/libcurl.so.4.2.0 (requires libcrypto.so.0.9.8 libssl.so.0.9.8)
[ 36% ] * broken /usr/lib32/libldap-2.4.so.2.5.2 (requires libcrypto.so.0.9.8 libssl.so.0.9.8)
* broken /usr/lib32/libldap_r-2.4.so.2.5.2 (requires libcrypto.so.0.9.8 libssl.so.0.9.8)
Last edited by khippy on Sat Aug 14, 2010 11:44 pm, edited 1 time in total.
--
there are no silly questions
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Sat Aug 14, 2010 11:25 pm

I have curl-7.20.0-r2 with USE="gnutls ssl".

The only file I have mentioned in your strace is the same one you have. When I strace firefox-bin there are only two hits for "curl":

Code: Select all

$  grep curl out
11589 open("/opt/firefox/libcurl.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
11589 open("/usr/lib32/libcurl.so.4", O_RDONLY) = 14
Revdep-rebuild sounds like an excellent idea. I had assumed your system was up-to-date.
Top
khippy
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Thu Aug 29, 2002 8:32 pm
Location: Braunschweig - Germany
Contact:
Contact khippy
Website

  • Quote

Post by khippy » Sat Aug 14, 2010 11:34 pm

BitJam wrote:Revdep-rebuild sounds like an excellent idea. I had assumed your system was up-to-date.
Shame on me :oops: . I can't tell how often I do have revdep-rebuilded my system after system/world update just to be shure or after things weren't running so well. Only this time I haven't done so nor did I think on that earlier. The latest openssl revdep-rebuild suggested by emerge was, let's say, complicated and I thought I was ready with that and apparently I wasn't.

I am pretty shure, after _this_ revdep-rebuild, the adobe-flash error will be gone. *Update* And yes, it is.

Thanks, guys for assisting me. The only hope I have is that this thread will be help for another guy like me :wink:

@wilsonsamm: Can you mark this thread [SOLVED] if revdep-rebuild helps you too?
--
there are no silly questions
Top
wilsonsamm
Apprentice
Apprentice
Posts: 196
Joined: Sat Jul 12, 2008 9:43 pm

  • Quote

Post by wilsonsamm » Sun Aug 15, 2010 6:19 pm

Oh I simply remerged nspluginwrapper and flash now works fine.
And it uses "only" 40% of my CPU time as opposed to nearing 90% before on a 2GHz AMD Sempron.
Top
ilborg
n00b
n00b
Posts: 42
Joined: Sun Mar 02, 2008 3:45 pm
Location: Finland

  • Quote

Post by ilborg » Mon Aug 16, 2010 10:59 am

I switched to gnash. Works just like piece of crap in many cases, but I managed to get youtube working anyway. With couple of hidden options you can enable HW acceleration too and therefore you can watch youtube videos in full screen with full frame rate. Better than adobe flash in that way. Most of the time gnash are very slow to start play anything, and it seems to be crashed for something like 30-60 seconds before it starts to play the video. Some other video services than youtube seems to be working too, but it's quite big possibility that they don't.

I'm using latest unstable version of gnash, and added these lines to ~/.gnashrc to get acceleration working.

Code: Select all

set HWAccel xv
set Renderer opengl
Somehow without another of those options, the video didn't work properly.
Top
jongust
n00b
n00b
Posts: 47
Joined: Mon Jun 13, 2005 6:03 am

I got flash player working with nspluginwrapper....sound too

  • Quote

Post by jongust » Tue Aug 31, 2010 4:40 pm

I downloaded the tarball from adobe and copied the libflashplayer.so to Original plugin: /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so and renamed it with the npwrapper. infront of it.....and then linked it with nspluginwrapper -i /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
and everything seemed to work seamlessly, sound and everything.
Just wanted to post this, even though other people have posted close to the same to this, to help other people with the same troubles. After I linked the one npwrapper.libflashplayer.so everything worked and showed up in other places when I did nspluginwrapper -l command.

Hope this helps .....if there is any other questions let me know. I will post my make.conf below. If any other info is needed let me know.


nspluginwrapper -l
/usr/lib/nsbrowser/plugins/npwrapper.nppdf.so
Original plugin: /usr/lib32/nsbrowser/plugins/nppdf.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib/nsbrowser/plugins/npwrapper.npwrapper.libflashplayer.so
Original plugin: /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.nppdf.so
Original plugin: /usr/lib32/nsbrowser/plugins/nppdf.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.npwrapper.libflashplayer.so
Original plugin: /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0



# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="kde gnome cgi sql multilib nspluginwrapper webkit extras mysql force-cgi-redirect mmx sse sse2 sse3 sse4a md5summer ctype filter ctype crypt pcre session unicode apache2 mysqli crypt branding gnutls foomaticdb truetype gd avahi cups usb opengl x86 xulrunner nls srt X ssl v4l2 caps 3dnow -ldap -arts mp3 gstreamer encode lame threads utemper nvidia hal dbus dvd dvdr bash-completion bzip2 ffmpeg flac gmp gphoto2 gtk gtk2 mplayer nsplugin php perl python wxwindows xine xorg vorbis udev pam ogg 3dnowext win32codecs ipv6 loop-aes 3dnowprefetch hvm mmxext eapi-2 fortran png libg++ syscall symlink flac nx ppds"
ALSA_CARDS="emu10k1"
VIDEO_CARDS="nvidia"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/dist ... ns/gentoo/ http://cudlug.c$
INPUT_DEVICES="evdev keyboard mouse"
FOO2ZJS_DEVICES="hpp1006"
#LDFLAGS="-Wl,--as-needed"
Top
sleepingsun
Guru
Guru
User avatar
Posts: 489
Joined: Wed May 03, 2006 9:29 pm
Location: Bosnia
Contact:
Contact sleepingsun
Website

  • Quote

Post by sleepingsun » Wed Sep 01, 2010 7:47 am

Close firefox and try

Code: Select all

equery f adobe-flash 
than open firefox browser !

For chrome install nspluginwrapper shuld work !
Gentoo is Rocks
Top
Post Reply

15 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic