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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-09-2008, 03:42 AM
|
#1
|
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:
|
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
|
|
|
07-09-2008, 04:05 AM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
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.
|
|
|
07-09-2008, 04:32 AM
|
#3
|
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:
|
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.
|
|
|
07-09-2008, 06:07 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
07-09-2008, 06:57 AM
|
#5
|
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:
|
Quote:
Originally Posted by jschiwal
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.
|
|
|
07-09-2008, 09:22 AM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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
|
|
|
07-09-2008, 10:45 AM
|
#7
|
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:
|
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 11:47 AM.
|
|
|
07-09-2008, 09:53 PM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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 09:58 PM.
|
|
|
07-10-2008, 08:28 AM
|
#9
|
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:
|
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 07:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|