LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-09-2008, 02:42 AM   #1
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Rep: Reputation: 15
zattoo complains of no flash player installed, but flash is installed


Hello all,

Usual applies that if I have missed a thread is my searching please redirect me.

I am trying to get zattoo player running on my desktop. I am running Unbuntu gusty gibbon 64 bit. The error occurs when starting up zattoo. Zattoo complains that I have not installed flash player which I have. I search for libflashplayer.so as I plan to make a soft link to /usr/lib/zattoo/ in the hope that this will sort out any problems but I can't find libflashplayer.so. I know npviewer.bin is some sort of wrapper to allow 32bit software like flash to run in a 64 bit environment so I have a look in

$ ls /usr/lib/nspluginwrapper/plugins/
npwrapper.nphelix.so

reveling that there is only the real player plugin? Looking though the other directories within /usr/lib/nspluginwrapper/ reveals nothing either.

So first question

Am I going about solving this question of zattoo complaining about no flash being installed in the correct way? If not could you please suggest another plan of attack.

second question

If this is the correct method to resolve this zattoo problem where do I find libflashplayer.so or equivalent on my system.

Your help is greatly appreciated.

T
 
Old 07-09-2008, 03:05 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,784

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Am I going about solving this question of zattoo complaining about no flash being installed in the correct way? If not could you please suggest another plan of attack.

second question

If this is the correct method to resolve this zattoo problem where do I find libflashplayer.so or equivalent on my system.
Sounds like you are having the same problem that Firefox users are having with flashplayer: it's only available as a 32-bit application. You 64-bit Zattoo is looking for a 64-bit flashplayer and not finding it. The only work-around a present is to install the 32-bit Zattoo in order to use the 32-bit flashplayer plugin.
 
Old 07-09-2008, 03:32 AM   #3
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Original Poster
Rep: Reputation: 15
but zattoo comes as a pre-compiled binary which you just install in the correct part of your system so must be 32 bit already.
 
Old 07-09-2008, 05:07 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Use the "file" command on the binary to tell if it is a 32bit or 64bit program.

If it is a 64 bit binary, look at the output of "nspluginwrapper -l" which lists the plugins.

You might try "nspluginwrapper -a" for auto-discovery. Other than that, try the README files for nspluginwrapper and your program. Sometimes a plugin is installed in the wrong location and a README file will indicate where the program expects to find it. Simply copying the plugin might fix the problem.
 
Old 07-09-2008, 05:57 AM   #5
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
Use the "file" command on the binary to tell if it is a 32bit or 64bit program.

If it is a 64 bit binary, look at the output of "nspluginwrapper -l" which lists the plugins.

You might try "nspluginwrapper -a" for auto-discovery. Other than that, try the README files for nspluginwrapper and your program. Sometimes a plugin is installed in the wrong location and a README file will indicate where the program expects to find it. Simply copying the plugin might fix the problem.
Thanks I have manged to find out zattoo is indeed 32 bit as expected and that there are several places where the flashplugin-alternative.so is held (the nsplugin wrapped now 64 bit plugin to run on a 64 bit box). I have not been able to find out where zattoo looks for the flash player so I have had to email them. I'll post if / when I get a reply.

If anyone knows the answer to this let me know and I'll experiment with it. Thanks again jschiwa I think you have put me on the correct path.
 
Old 07-09-2008, 08:22 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You could try "lsof | grep zatto" after starting the program. It may have the directory where it expects plugings open.

You could also run strace and look for a line similar to:
read(17, "[/usr/lib/browser-plugins/libfla"..., 4096) = 565

This example is from running:
Code:
strace konqueror www.youtube.com 2>trace
 
Old 07-09-2008, 09:45 AM   #7
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Original Poster
Rep: Reputation: 15
Had a bit of a hunt and found this in an error log file

Code:
$ more Data/logs/zattoo.errlog

(zattoo_player:8656): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so: wrong ELF class: ELFCLASS64

(zattoo_player:8656): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so: wrong ELF class: ELFCLASS64
LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /var/lib/flashplugin-nonfree/npwrapper.libflashplayer.so [/var/lib/flashplugin-nonfree/npwrapper.libflashplaye
r.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/xulrunner/plugins/libnullplugin.so [/usr/lib/xulrunner/plugins/libnullplugin.so: wrong ELF class: ELF
CLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/xulrunner/plugins/libunixprintplugin.so [/usr/lib/xulrunner/plugins/libunixprintplugin.so: wrong ELF
class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /var/lib/flashplugin-nonfree/npwrapper.libflashplayer.so [/var/lib/flashplugin-nonfree/npwrapper.libflashplaye
r.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/xulrunner/plugins/libnullplugin.so [/usr/lib/xulrunner/plugins/libnullplugin.so: wrong ELF class: ELF
CLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/xulrunner/plugins/libunixprintplugin.so [/usr/lib/xulrunner/plugins/libunixprintplugin.so: wrong ELF
class: ELFCLASS64]
Does any one know what wrong ELF class means. I ahve also run
Code:
$getlibs /usr/bin/zatto_player
to grab the correct libraries and getlibs tell me I am have all the required libraries. Any more help would be gratefully received.


EDIT: I can see it's complaining because the libs are 64 bit but I thought that getlibs was ment to sort all of these things out?

Last edited by TheBrick; 07-09-2008 at 10:47 AM.
 
Old 07-09-2008, 08:53 PM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
SuSE is a bi-arch distribution. Look in your package manager for 32 bit versions of the packages supplying these libaries. The 64 bit version also has 32 bit versions of many programs and the libraries they need. They are supplied in separate packages from the 64 bit versions. The 32bit libraries will be installed under /usr/lib, and the 64 bit in /usr/lib64.

If a SuSE package doesn't supply a needed library, a good place to look is at the http://rpm.pbone.net website. In the advanced search, you can filter the search for your distro & version. For each package, the dependent files are listed and each one is a link to a package that can install it.

Another place to look at, especially for media related programs, is the Packman repository.

Starting with SuSE 10.3, you can select "Community Repositories" in YaST2 to easily add non-SuSE repositories such as Packman, NVidia, ATI, VLC, etal.

---

I wonder if you manually copied files for the plugin to /usr/lib/ instead of /usr/lib64?

If I remember correctly, with SuSE 10.2, the 32bit version of Firefox was installed by default. With 10.3, the 64 bit version was installed instead.

---

The "find" command can tell you whether you have an elf32 or elf64 library or program.

Last edited by jschiwal; 07-09-2008 at 08:58 PM.
 
Old 07-10-2008, 07:28 AM   #9
TheBrick
Member
 
Registered: Mar 2006
Location: London
Distribution: SUSE 10.0 Home soon to go (no internet conection), gentoo laptop, slack on development box
Posts: 81

Original Poster
Rep: Reputation: 15
Thansk but this box is not os SUSE but on Unbuntu gusty gibbon (see first post).

Quote:
I wonder if you manually copied files for the plugin to /usr/lib/ instead of /usr/lib64?
Yep I copied zatoo into /usr/lib because it is a 32 bit program. The getlib command is meant to download the desired 32 bit libs but even so the program still seems to be having trouble. Anyway thank for your post

T
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed 7.10 to a Flash bigalexe General 0 02-13-2008 12:07 AM
Flash plugin for MozFirefox says it's installed but isn't! ChrisScott Linux - Software 3 11-19-2006 08:49 AM
Flash refuses to run when installed Apollofury Linux - Software 4 11-03-2006 09:15 AM
flash player 7 installed but doesn't works emailssent Linux - Software 2 09-18-2004 07:22 AM
Problems with sound, when playing flash files. Flash plug-in installed. Mistreated Linux - Software 2 09-02-2004 02:13 PM


All times are GMT -5. The time now is 04:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration