You are not logged in.

#1 2008-09-29 05:02:32

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Flash isn't working

I used yaourt to install nspluginwrapper and nspluginwrapper-flash. Both appeared to go smoothly. Then nspluginwrapper -v -a -i gives me this

[eric@homebox plugins]$ nspluginwrapper -v -a -i
Auto-install plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
*** NSPlugin Viewer  *** ERROR: /usr/lib/mozilla/plugins/libnpsoplugin.so: wrong ELF class: ELFCLASS64
Install plugin /usr/lib/mozilla/plugins/nppdf.so
Install plugin /usr/lib/mozilla/plugins/libflashplayer.so
Auto-install plugins from /home/eric/.mozilla/plugins
Looking for plugins in /home/eric/.mozilla/plugins
Install plugin /home/eric/.mozilla/plugins/libflashplayer.so

What do I do?

Offline

#2 2008-09-29 05:53:45

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Flash isn't working

Have you installed all the lib32 dependencies?


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-09-29 14:42:50

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Flash isn't working

I looked for them because I suspected that was the problem (it was for acroread as well). However, I don't know what to look for... pacman isn't giving me results

Offline

#4 2008-09-29 16:34:27

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: Flash isn't working

If you have nspluginwrapper installed, you could try to install my 'lib32-flashplugin-beta' package.  It's the latest beta from Adobe and gets rid of at least one bothersome prerequisite - lib32-curl - that prevented me from running smoothly for a while.  After installation then you would need to run nspluginwrapper -i on the resulting library:

$ nspluginwrapper -i /opt/lib32/usr/lib/libflashplayer.so

You can check and see if it loads by using the URL 'about:plugins' in your browser.  A system-way of looking at it is to try and see if your system can resolve all of the plugin's shared libraries:

$ ldd32 /opt/lib32/usr/lib/libflashplayer.so

Each line in the output should point to a corresponding file.  If you see 'not found' or something similar, then you need to get the package for that library or the plugin won't work.

Hopefully that will be enough to get you going! Good luck!

Offline

#5 2008-09-30 01:54:28

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Flash isn't working

Thanks! Do I need to add arch=('x86_64') to the lib32-flashplugin-beta pkgbuild? Also, some of my ldd32 were missing... the .so files. How can I get them (there were like 6)?

Just directly from yaourt?

Offline

#6 2008-09-30 12:40:38

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: Flash isn't working

1. Yes, I had made the package originally for us x86_64 people who still don't have a 64-bit flash release from Adobe.  See below for a PKGBUILD that should work for i686 people.  However, since you're posting here you should be an x86_64 person, so everything should already be working!  Just run

$ yaourt -S lib32-flashplugin-beta

2. If you're using yaourt, then it should get the dependencies for you.


p.s. I went ahead and made an i686 PKGBUILD (untested):

pkgname=flashplugin-beta
pkgver=10.0.12.10
pkgrel=2
pkgdesc="Macromedia beta flash plugin for Netscape/Mozilla (nonfree)"
depends=('mozilla-common' 'libxt' 'gtk2' 'alsa-lib' 'nss')
#replaces=('flashplugin')
provides=('flashplugin')
conflicts=('flashplugin')
url="http://labs.adobe.com/technologies/flashplayer10/"
license=('custom')
source=(http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_inst
all_linux_091508.tar.gz
        adobe_eula.txt.gz)
arch=('i686')
md5sums=('a0e471f87aa544ca6f2d032620111aba'
         '371ec3a2bc63e380dfc48b1d3e7d712c')

build() {
  mkdir -p $startdir/pkg/usr/lib/mozilla/plugins
  install -m755 $startdir/src/install_flash_player_10_linux/libflashplayer.so \
    $startdir/pkg/usr/lib/mozilla/plugins || return 1
  #install license
  install -D -m644 $startdir/adobe_eula.txt.gz \
    $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.gz || return 1
}

Last edited by Janax (2008-09-30 12:44:12)

Offline

#7 2008-09-30 13:06:29

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Flash isn't working

Thanks for your help so far, I appreciate it. Here is the output of nspluginwrapper -v -a -i after installing lib32-flashplugin-beta with yaourt

 [eric@homebox ~]$ nspluginwrapper -v -a -i
Auto-install plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
*** NSPlugin Viewer  *** ERROR: /usr/lib/mozilla/plugins/libnpsoplugin.so: wrong ELF class: ELFCLASS64
Install plugin /usr/lib/mozilla/plugins/libflashplayer.so
Install plugin /usr/lib/mozilla/plugins/nppdf.so
Auto-install plugins from /home/eric/.mozilla/plugins
Looking for plugins in /home/eric/.mozilla/plugins
Install plugin /home/eric/.mozilla/plugins/libflashplayer.so

Is that error serious?
Also,

     libnss3.so => not found
    libsmime3.so => not found
    libssl3.so => not found
    libplds4.so => not found
    libplc4.so => not found
    libnspr4.so => not found

Offline

#8 2008-09-30 13:09:13

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Flash isn't working

about:plugins shows this

NPAPI Plugins Wrapper 1.0.0

    File name: npwrapper.so
    nspluginwrapper is a cross-platform NPAPI plugin viewer, in particular for linux/i386 plugins.
    This software is available under the terms of the GNU General Public License.

MIME Type     Description     Suffixes     Enabled
unknown/mime-type     Do not open     none     Yes

It still isn't working. Not sure what I'm doing wrong...

Offline

#9 2008-09-30 14:09:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Flash isn't working

It looks like you don't have all of the lib32 stuff from AUR required to run this. Install lib32-nss, lib32-nspr, and lib32-openssl then try again.

Last edited by skottish (2008-09-30 14:12:06)

Offline

#10 2008-09-30 20:01:10

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Flash isn't working

Done... now I don't have anything missing

[root@homebox eric]# ldd32 /opt/lib32/usr/lib/libflashplayer.so
    linux-gate.so.1 =>  (0xf7f80000)
    libstdc++.so.6 => /opt/lib32/usr/lib/libstdc++.so.6 (0xf740b000)
    libpthread.so.0 => /opt/lib32/lib/libpthread.so.0 (0xf73f3000)
    libX11.so.6 => /opt/lib32/usr/lib/libX11.so.6 (0xf7304000)
    libXext.so.6 => /opt/lib32/usr/lib/libXext.so.6 (0xf72f6000)
    libXt.so.6 => /opt/lib32/usr/lib/libXt.so.6 (0xf72a6000)
    libfreetype.so.6 => /opt/lib32/usr/lib/libfreetype.so.6 (0xf7222000)
    libfontconfig.so.1 => /opt/lib32/usr/lib/libfontconfig.so.1 (0xf71f7000)
    libgtk-x11-2.0.so.0 => /opt/lib32/usr/lib/libgtk-x11-2.0.so.0 (0xf6e78000)
    libgdk-x11-2.0.so.0 => /opt/lib32/usr/lib/libgdk-x11-2.0.so.0 (0xf6df2000)
    libatk-1.0.so.0 => /opt/lib32/usr/lib/libatk-1.0.so.0 (0xf6dd7000)
    libgdk_pixbuf-2.0.so.0 => /opt/lib32/usr/lib/libgdk_pixbuf-2.0.so.0 (0xf6dbd000)
    libpangocairo-1.0.so.0 => /opt/lib32/usr/lib/libpangocairo-1.0.so.0 (0xf6db4000)
    libpango-1.0.so.0 => /opt/lib32/usr/lib/libpango-1.0.so.0 (0xf6d76000)
    libcairo.so.2 => /opt/lib32/usr/lib/libcairo.so.2 (0xf6d13000)
    libgobject-2.0.so.0 => /opt/lib32/usr/lib/libgobject-2.0.so.0 (0xf6cd7000)
    libgmodule-2.0.so.0 => /opt/lib32/usr/lib/libgmodule-2.0.so.0 (0xf6cd4000)
    libdl.so.2 => /opt/lib32/lib/libdl.so.2 (0xf6cd0000)
    libglib-2.0.so.0 => /opt/lib32/usr/lib/libglib-2.0.so.0 (0xf6c1b000)
    libnss3.so => /opt/lib32/usr/lib/libnss3.so (0xf6afc000)
    libsmime3.so => /opt/lib32/usr/lib/libsmime3.so (0xf6ad7000)
    libssl3.so => /opt/lib32/usr/lib/libssl3.so (0xf6aac000)
    libplds4.so => /opt/lib32/usr/lib/libplds4.so (0xf6aa9000)
    libplc4.so => /opt/lib32/usr/lib/libplc4.so (0xf6aa5000)
    libnspr4.so => /opt/lib32/usr/lib/libnspr4.so (0xf6a71000)
    libm.so.6 => /opt/lib32/lib/libm.so.6 (0xf6a4b000)
    libgcc_s.so.1 => /opt/lib32/usr/lib/libgcc_s.so.1 (0xf6a3d000)
    libc.so.6 => /opt/lib32/lib/libc.so.6 (0xf68fb000)
    /lib/ld-linux-x86-32.so.2 (0xf7f81000)
    libxcb-xlib.so.0 => /opt/lib32/usr/lib/libxcb-xlib.so.0 (0xf68f9000)
    libxcb.so.1 => /opt/lib32/usr/lib/libxcb.so.1 (0xf68e1000)
    libXau.so.6 => /opt/lib32/usr/lib/libXau.so.6 (0xf68de000)
    libSM.so.6 => /opt/lib32/usr/lib/libSM.so.6 (0xf68d6000)
    libICE.so.6 => /opt/lib32/usr/lib/libICE.so.6 (0xf68be000)
    libz.so.1 => /opt/lib32/usr/lib/libz.so.1 (0xf68aa000)
    libexpat.so.1 => /opt/lib32/usr/lib/libexpat.so.1 (0xf688a000)
    libXcomposite.so.1 => /opt/lib32/usr/lib/libXcomposite.so.1 (0xf6887000)
    libXdamage.so.1 => /opt/lib32/usr/lib/libXdamage.so.1 (0xf6884000)
    libXfixes.so.3 => /opt/lib32/usr/lib/libXfixes.so.3 (0xf687e000)
    libpng12.so.0 => /opt/lib32/usr/lib/libpng12.so.0 (0xf6857000)
    libXrender.so.1 => /opt/lib32/usr/lib/libXrender.so.1 (0xf684f000)
    libXinerama.so.1 => /opt/lib32/usr/lib/libXinerama.so.1 (0xf684c000)
    libXi.so.6 => /opt/lib32/usr/lib/libXi.so.6 (0xf6844000)
    libXrandr.so.2 => /opt/lib32/usr/lib/libXrandr.so.2 (0xf683d000)
    libXcursor.so.1 => /opt/lib32/usr/lib/libXcursor.so.1 (0xf6834000)
    libpangoft2-1.0.so.0 => /opt/lib32/usr/lib/libpangoft2-1.0.so.0 (0xf680d000)
    libpixman-1.so.0 => /opt/lib32/usr/lib/libpixman-1.so.0 (0xf67cb000)
    libpcre.so.0 => /opt/lib32/lib/libpcre.so.0 (0xf6799000)
    libnssutil3.so => /opt/lib32/usr/lib/libnssutil3.so (0xf6782000)
    libXdmcp.so.6 => /opt/lib32/usr/lib/libXdmcp.so.6 (0xf677d000)
    libuuid.so.1 => /opt/lib32/lib/libuuid.so.1 (0xf6779000)

and yet flash still doesn't work!

Offline

#11 2008-09-30 20:34:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Flash isn't working

/opt/lib32/usr/lib/libflashplayer.so? Why is libflashplayer.so in this directory?

Offline

#12 2008-09-30 22:18:57

Xs1t0ry
Member
From: Canada
Registered: 2007-07-01
Posts: 181

Re: Flash isn't working

Where should it be? I don't remember putting it there....

Offline

#13 2008-09-30 22:24:13

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Flash isn't working

The plug-in should be installed in /usr/lib/mozilla/plugins and nspluginwrapper should have put npwrapper.libflashplayer.so in ~/.mozilla/plugins.

Offline

Board footer

Powered by FluxBB