PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Nspluginwrapper on AMD64
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Nspluginwrapper on AMD64

Réponse
 
LinkBack Outils de la discussion
Vieux 28/09/2007, 04h20   #1
Sridhar M.A.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Nspluginwrapper on AMD64

Hello,

I am trying to run debian-amd64 sid on my new system and so far am very
happy with the relative ease of the installation process (thank you
developers).

I tried to install the flashplayer-mozilla|flashplayer-nonfree. Both
failed with the same message :

nspluginwrapper: no appropriate viewer found for /usr/lib/mozilla/plugins/libflashplayer.so

I found the bug reported on bugs.debian.org and the comment of the
maintainer that this is probably due to a bug in chroot
package/environment. AFAICT, I do not have any chroot installs other
than that demanded by nspluginwrapper. The contents of the files in
/etc/ld.so.conf.d are :

libc.conf :
# libc default configuration
/usr/local/lib

x86_64-linux-gnu.conf :
# Multiarch support
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu

Rerunning ldconfig, did not solve the problem. But, what surprises me is
this fact: nspluginwrapper depends on linux32, but it is not installed.
Trying to install linux32, apt wants to remove util-linux. I am pasting
the session below :

#: apt-cache policy linux32
linux32:
Installed: (none)
Candidate: 1-3
Version table:
1-3 0
500 http://ftp.debian.org unstable/main Packages
#: apt-get install nspluginwrapper
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
nspluginwrapper
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
Need to get 110kB of archives.
After unpacking 373kB of additional disk space will be used.
Get: 1 http://ftp.debian.org unstable/contrib nspluginwrapper 0.9.91.5-1 [110kB] ...


#: apt-get install linux32
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
util-linux
The following NEW packages will be installed
linux32
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
util-linux
0 upgraded, 1 newly installed, 1 to remove and 28 not upgraded. ...


The system appears not to honor the dependency requirement of
nspluginwrapper. Has anyone else noticed this problem? Is this a bug in
apt|aptitude or nspluginwrapper?

Any pointers will be ful.

Regards,

--
Sridhar M.A.

The brain is a wonderful organ; it starts working the moment you get up
in the morning, and does not stop until you get to work.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/09/2007, 08h20   #2
Gabrielle Chatelet
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Nspluginwrapper on AMD64

On Friday 28 September 2007 05:16, Sridhar M.A. wrote:
> Hello,
>
> I am trying to run debian-amd64 sid on my new system and so far am very
> happy with the relative ease of the installation process (thank you
> developers).
>
> I tried to install the flashplayer-mozilla|flashplayer-nonfree. Both
> failed with the same message :
>
> nspluginwrapper: no appropriate viewer found for
> /usr/lib/mozilla/plugins/libflashplayer.so


Go there:
http://lists.debian.org/debian-user/.../msg01335.html


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/09/2007, 09h00   #3
Sridhar M.A.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Nspluginwrapper on AMD64

On Fri, Sep 28, 2007 at 08:57:25AM +0200, Gabrielle Chatelet wrote:
> >
> > I tried to install the flashplayer-mozilla|flashplayer-nonfree. Both
> > failed with the same message :
> >
> > nspluginwrapper: no appropriate viewer found for
> > /usr/lib/mozilla/plugins/libflashplayer.so

>
> Go there:
> http://lists.debian.org/debian-user/.../msg01335.html
>

Thanks for the link. But, the message details the process to get it
working under etch. I am running sid.

Regards,

--
Sridhar M.A. GPG KeyID : F6A35935
Fingerprint: D172 22C4 7CDC D9CD 62B5 55C1 2A69 D5D8 F6A3 5935

No, his mind is not for rent
To any god or government.
Always hopeful, yet discontent,
He knows changes aren't permanent -
But change is.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG/LMhKmnV2PajWTURAvsnAJ0SEZqUHBuil6f0HE8tAEUq3zQnlQC grVKT
ldzB2Tf44L50h3NaLPIazAo=
=DufW
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 28/09/2007, 10h10   #4
Florian Kulzer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Nspluginwrapper on AMD64

On Fri, Sep 28, 2007 at 08:46:56 +0530, Sridhar M.A. wrote:
> Hello,
>
> I am trying to run debian-amd64 sid on my new system and so far am very
> happy with the relative ease of the installation process (thank you
> developers).
>
> I tried to install the flashplayer-mozilla|flashplayer-nonfree. Both
> failed with the same message :
>
> nspluginwrapper: no appropriate viewer found for /usr/lib/mozilla/plugins/libflashplayer.so
>
> I found the bug reported on bugs.debian.org and the comment of the
> maintainer that this is probably due to a bug in chroot
> package/environment.


The two related bugs in the BTS seem to be about "experimental" versions
of flashplugin-nonfree. Which version are you trying to install? Version
9.0.48.0.2 works fine on my Sid/amd64 system, without any need for a
32bit chroot.

> AFAICT, I do not have any chroot installs other
> than that demanded by nspluginwrapper.


This statement is a bit confusing. Did you install flashplayer in a
32bit chroot or not?

I think we might have a misunderstanding here: The nspluginwrapper
package provides a means to run i386 plugins on other architectures
without having to install a 32bit chroot on your system. If you use a
32bit chroot to run i386 binaries then you have to set up the chroot
yourself first and then you can install the i386 debs in it. This used
to be necessary for the flash-plugin on amd64, but now it is not
required anymore.

> than that demanded by nspluginwrapper. The contents of the files in
> /etc/ld.so.conf.d are :
>
> libc.conf :
> # libc default configuration
> /usr/local/lib
>
> x86_64-linux-gnu.conf :
> # Multiarch support
> /lib/x86_64-linux-gnu
> /usr/lib/x86_64-linux-gnu


I see the same on my system, so I think this should be OK.

> Rerunning ldconfig, did not solve the problem. But, what surprises me is
> this fact: nspluginwrapper depends on linux32, but it is not installed.
> Trying to install linux32, apt wants to remove util-linux. I am pasting
> the session below :


[...]

> The system appears not to honor the dependency requirement of
> nspluginwrapper. Has anyone else noticed this problem? Is this a bug in
> apt|aptitude or nspluginwrapper?


No, the dependency is satisfied because util-linux provides linux32:

$ apt-cache show util-linux | grep Provides
Provides: schedutils, linux32

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/09/2007, 03h10   #5
Sridhar M.A.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Nspluginwrapper on AMD64

On Fri, Sep 28, 2007 at 10:43:43AM +0200, Florian Kulzer wrote:
>
> The two related bugs in the BTS seem to be about "experimental" versions
> of flashplugin-nonfree. Which version are you trying to install? Version
> 9.0.48.0.2 works fine on my Sid/amd64 system, without any need for a
> 32bit chroot.
>

Sorry for replying late.

Since, I am tracking sid, I have the latest version of
flashplugin-nonfree on the system (9.0.48.0.2).

> This statement is a bit confusing. Did you install flashplayer in a
> 32bit chroot or not?
>

I installed flashplayer-nonfree which pulled in
install_flash_player_9_linux.tar.gz from macromedia.com

> No, the dependency is satisfied because util-linux provides linux32:
>

My bad. Should have looked at Provides of util-linux more clearly.

I purged nspluginwrapper and flashplugin-nonfree and installed them
again. Here is the final result:

<snip>
Download done.
Flash Plugin installed.
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: /usr/lib/nspluginwrapper/i386/linux/npviewer.bin: cannot execute binary file
nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-nonfree/libflashplayer.so
dpkg: error processing flashplugin-nonfree (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
flashplugin-nonfree
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up flashplugin-nonfree (9.0.48.0.2) ...
Installing from local file /var/cache/flashplugin-nonfree/install_flash_player_9_linux.tar.gz
Flash Plugin installed.
/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: /usr/lib/nspluginwrapper/i386/linux/npviewer.bin: cannot execute binary file
nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-nonfree/libflashplayer.so
dpkg: error processing flashplugin-nonfree (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
flashplugin-nonfree

Am I missing something in the installation chain that is causing this?

Regards,

--
Sridhar M.A.

Whoever would lie usefully should lie seldom.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/09/2007, 12h20   #6
Florian Kulzer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Nspluginwrapper on AMD64

On Sat, Sep 29, 2007 at 13:06:20 +0530, Sridhar M.A. wrote:

[...]

> Since, I am tracking sid, I have the latest version of
> flashplugin-nonfree on the system (9.0.48.0.2).


OK, I just wanted to make sure. As I said before, this version works
"out of the box" for me on my Sid/amd64 system. Unfortunately, this also
means that I don't know too much about the details of the
plugin-wrapping mechanism.

[...]

> I purged nspluginwrapper and flashplugin-nonfree and installed them
> again. Here is the final result:
>
> <snip>
> Download done.
> Flash Plugin installed.
> /usr/lib/nspluginwrapper/i386/linux/npviewer.bin: /usr/lib/nspluginwrapper/i386/linux/npviewer.bin: cannot execute binary file
> nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-nonfree/libflashplayer.so
> dpkg: error processing flashplugin-nonfree (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> flashplugin-nonfree
> E: Sub-process /usr/bin/dpkg returned an error code (1)


[...]

> Am I missing something in the installation chain that is causing this?


Maybe the viewer cannot be executed because you are missing some
component of X (or some other library) which is assumed to be present
and therefore not specified as an explicit dependency. Do you run an
unusually minimalistic Xorg install?

Looking at the post-installation script, it seems that things go wrong
at the very last step, which is:

nspluginwrapper -n -i /usr/lib/flashplugin-nonfree/libflashplayer.so

According to the manpage, this is meant to install the wrapper for
libflashplayer.so into the mozilla plugins directory. It also seems to
test if the viewer itself is executable and that is not the case on your
system.

I would first run these commands:

ldd /usr/bin/nspluginwrapper
ldd /usr/lib/flashplugin-nonfree/libflashplayer.so
ldd /usr/lib/nspluginwrapper/i386/linux/npviewer.bin

Maybe that will turn up a missing library.

Also, just to be sure, check if your running kernel supports 32-bit ELF
executables:

$ egrep 'ELF|IA32' /boot/config-$(uname -r)
CONFIG_ELF_CORE=y
CONFIG_BINFMT_ELF=y
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y

Finally, you could try to run

nspluginwrapper -v -n -i /usr/lib/flashplugin-nonfree/libflashplayer.so

and hope that the verbose mode provides additional clues.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/09/2007, 17h10   #7
Sridhar M.A.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Nspluginwrapper on AMD64

On Sat, Sep 29, 2007 at 01:01:41PM +0200, Florian Kulzer wrote:
>
> Also, just to be sure, check if your running kernel supports 32-bit ELF
> executables:
>
> $ egrep 'ELF|IA32' /boot/config-$(uname -r)
> CONFIG_ELF_CORE=y
> CONFIG_BINFMT_ELF=y
> CONFIG_IA32_EMULATION=y
> CONFIG_IA32_AOUT=y
>

Thanks. That was the problem. Recompiled my kernel and flash is working
now.

Regards,

--
Sridhar M.A.

Knowledge, sir, should be free to all!
-- Harry Mudd, "I, Mudd", stardate 4513.3


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h45.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,21423 seconds with 15 queries