LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   zattoo complains of no flash player installed, but flash is installed (http://www.linuxquestions.org/questions/linux-software-2/zattoo-complains-of-no-flash-player-installed-but-flash-is-installed-654522/)

TheBrick 07-09-2008 03:42 AM

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

bigrigdriver 07-09-2008 04:05 AM

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.

TheBrick 07-09-2008 04:32 AM

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.

jschiwal 07-09-2008 06:07 AM

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.

TheBrick 07-09-2008 06:57 AM

Quote:

Originally Posted by jschiwal (Post 3208592)
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.

jschiwal 07-09-2008 09:22 AM

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

TheBrick 07-09-2008 10:45 AM

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?

jschiwal 07-09-2008 09:53 PM

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.

TheBrick 07-10-2008 08:28 AM

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


All times are GMT -5. The time now is 10:50 PM.