LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2008, 02:52 PM   #1
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Question Slackware flashplayer 10 on Slackware 12.2 and opera 9.63


Hello.

have anyone been able to make flash player 10 work on opera 9.63 on slackware. I'm thinking about going back to opera from firefox and I'd like to make flash work. I've seen few success stories about flashplayer 10 + opera, but they all are few months old.

Right now for me flashplayer 10 doesn't work. IT is visible in plugins as "Shockwave Flash 10.0 r12", but it doesn't work silently. When opera is launched from terminal I see "not GTK2 toolkit" message being printed at the moment plugin supposed to start working. By googling this message I was able to find this article(automatic translation from portuguese), which explains how this can be possibly fixed, but to apply this info, I'll have to recreate all steps mentioned in article, which might be a bit difficult because it involves reverse-engeenering. Has anyone been able to solve this problem using any other way? OR am I the only one experiencing this?

Last edited by ErV; 12-22-2008 at 03:02 PM.
 
Old 12-22-2008, 04:31 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
see if this helps?
http://my.opera.com/community/forums....dml?id=253470
 
Old 12-22-2008, 05:07 PM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202

Original Poster
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by aus9 View Post
I'm using 32bit system.
There is no unresolved ldd dependencies in libflashplayer.so:
Code:
bash-3.1$ ldd libflashplayer.so
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7506000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb74cd000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb73e6000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb73d8000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7388000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7318000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb72ef000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb6f89000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6f07000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6eee000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6ed6000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6ecd000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6e91000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6e31000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6df7000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6df3000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6def000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6d23000)
        libnss3.so => /usr/lib/seamonkey/libnss3.so (0xb6cb2000)
        libsmime3.so => /usr/lib/seamonkey/libsmime3.so (0xb6c8f000)
        libssl3.so => /usr/lib/seamonkey/libssl3.so (0xb6c65000)
        libplds4.so => /usr/lib/libplds4.so (0xb6c61000)
        libplc4.so => /usr/lib/libplc4.so (0xb6c5d000)
        libnspr4.so => /usr/lib/libnspr4.so (0xb6c2b000)
        libm.so.6 => /lib/libm.so.6 (0xb6c05000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6bfa000)
        libc.so.6 => /lib/libc.so.6 (0xb6aae000)
        /lib/ld-linux.so.2 (0xb805c000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6aab000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6a94000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6a91000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6a89000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6a72000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb6a5d000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6a3d000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6a3a000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6a37000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6a32000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6a2a000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6a26000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb6a1e000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6a18000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6a0f000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb69e8000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb69ac000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb6977000)
        libsoftokn3.so => /usr/lib/seamonkey/libsoftokn3.so (0xb6929000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6924000)
I've downloaded latest version of libflashplayer.so, it is now being detected as "10.0 r15", but it still doesn't work and gives same message in terminal.
--EDIT--
One important difference. My opera package was created from staticaly linked *.tar.gz package. Systems that "just worK" are debian based, and I think they might be using dynamically linked executable.

Last edited by ErV; 12-22-2008 at 05:27 PM.
 
Old 12-22-2008, 07:03 PM   #4
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202

Original Poster
Blog Entries: 3

Rep: Reputation: 62
Whew...

I was able to fix flashplayerplugin.so using hacking described in article I've mentioned before. But since the article was written for flashplayer 10.0.12.36 and current version is 10,0,15,3 some number has slightly changed so I had to disassemble the whole thing again. It looks like after hacking plugin has lost ability to show context menu, but it doesn't crash anymore and works fine in opera. Now this is certainly the "geekiest thing I ever did" (and I didn't have that much of computer fun for a long time). Here is screenshot.

Now the question. I am certainly not allowed to distribute hacked libflashplayer.so which can work in opera. Am I allowed to post instruction for enabling flash for opera here? For example, russian laws allows hacking of software for fixing software bugs that prevent that software from working on users's machine.

Last edited by ErV; 12-22-2008 at 07:17 PM.
 
Old 12-22-2008, 07:24 PM   #5
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by ErV View Post
have anyone been able to make flash player 10 work on opera 9.63 on slackware.
I had the same issue with opera not being able to view flash media even though it was installed. I took a look at the slack build script from slackbuilds.org and there is an option in the script for flash-player-plug-in that when "USE_OPERA=yes" it creates a symlink to the flashplayer directory. My recommendation is to reinstall flash with the variable previously mentioned set to yes. You can do this by editing the slackbuild script or pass it this at build time.
Code:
# USE_OPERA=yes ./flash-player-plugin/flash-player-plugin.SlackBuild
or if you want to save yourself sometime then just do this.
Code:
# cd /usr/lib/opera/plugins
# sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so libflashplayer.so
Hope this helps.
 
Old 12-22-2008, 07:56 PM   #6
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202

Original Poster
Blog Entries: 3

Rep: Reputation: 62
Okay, since I already solved problem the hard way...
Quote:
Originally Posted by larryhaja View Post
I had the same issue with opera not being able to view flash media even though it was installed. I took a look at the slack build script from slackbuilds.org and there is an option in the script for flash-player-plug-in that when "USE_OPERA=yes" it creates a symlink to the flashplayer directory. My recommendation is to reinstall flash with the variable previously mentioned set to yes. You can do this by editing the slackbuild script or pass it this at build time.
Code:
# USE_OPERA=yes ./flash-player-plugin/flash-player-plugin.SlackBuild
or if you want to save yourself sometime then just do this.
Code:
# cd /usr/lib/opera/plugins
# sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so libflashplayer.so
Hope this helps.
Slackbuild doesn't work. So far only hacked version with disabled gtk menu works without problems.

I've already tried following:
1) moved plugin across many paths.
2) edited ~/pluginpath.ini to include ~/.mozilla ~/.opera/plugins (created by me), /usr/local/lib/opera/plugins, and so on.

This didn't work. In all cases plugin was visible in list of plugins, it was recognised, but it didn't work in runtime.

Anyway, I'd like to know how this could be fixed in the sane way instead of hacking.
If flash 10 works for you, can you provide following information:
1) contents of ~/.opera/pluginpath.ini
2) version of opera and which version - static, shared, etc.
3) version of flashplayer
4) where exactly did you get both of them and how did you make packages.

My setup so far:
1) ~/.opepera/pluginpath.ini:
Code:
Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding

[Paths]
/home/erv/.opera/plugins=2
/usr/lib/mozilla/plugins=2
/usr/local/lib/netscape/plugins=2
/home/erv/.mozilla/plugins=2
/usr/local/lib/opera/plugins=1
/usr/lib/firefox/plugins=2
/usr/lib/firefox-3.0.4/plugins=2
As you can see, the only allowed place to load plugins from is /usr/local/lib/opera/plugins.
2) opera 9.63, obtained yesterday by selecting "other - static rpm" and "download tar.gz format" on www.opera.com
3) flashplayer 10.0.15.3, obtained from adobe website today.
 
Old 12-22-2008, 08:11 PM   #7
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,039

Rep: Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218Reputation: 7218
It is not as difficult as it would appear. It is really just a matter of unpacking the plugin, parking it where you would want it to be, and telling Opera where to find it.
Tools/Preferences/Advanced/Content/Plugin Options/ and if
"Find New" doesn't work, then use "Change Path."
 
Old 12-22-2008, 08:15 PM   #8
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
1) contents of ~/.opera/pluginpath.ini
Here's my pluginpath.ini
Quote:
Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding

[Paths]
/usr/lib/mozilla/plugins=1
/usr/lib/firefox-3.0.5/plugins=1
/usr/lib/opera-9.63=0
/usr/lib/opera/plugins=1
Quote:
2) version of opera and which version - static, shared, etc.
Opera 9.63, shared
Quote:
3) version of flashplayer
10.0.15.3
Quote:
4) where exactly did you get both of them and how did you make packages.
Both were installed with slackbuild scripts from slackbuilds.org. Only modification was adding the the USE_OPERA=yes option to the flash build script.
 
Old 12-22-2008, 08:30 PM   #9
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202

Original Poster
Blog Entries: 3

Rep: Reputation: 62
flashplayer is identical to mine.
Pluginpath doesn't have anything unusual
Quote:
Originally Posted by larryhaja View Post
Opera 9.63, shared

Both were installed with slackbuild scripts from slackbuilds.org. Only modification was adding the the USE_OPERA=yes option to the flash build script.
It looks like the only difference is static/shared status. I'll try shared version, then I'll write again.
 
Old 12-22-2008, 09:18 PM   #10
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202

Original Poster
Blog Entries: 3

Rep: Reputation: 62
Okay, I understood what causes problems.

unmodified flashplayer doesn't work with opera-static, it works only with opera-shared.
I've checked it many times - it isn't important where is the plugin, how opera was installed, with static linking it works, and with shared it doesnt. Only "hacked" version of libflashplayer.so works with static opera for some reason.

Very cool bug, especially looking at the amount of effort to figure it out...

Problem solved, bug is submitted to opera.com.

Last edited by ErV; 12-22-2008 at 09:27 PM.
 
Old 12-23-2008, 04:40 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
Strange. I'm using Opera 9.63 static edition and i'm still able to use the unmodified Flash Player on my system here. I just put the libflashplayer on /usr/lib/opera/plugins and it worked without any changes in the preference or anything else
 
Old 12-23-2008, 05:53 AM   #12
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202

Original Poster
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by willysr View Post
Strange. I'm using Opera 9.63 static edition and i'm still able to use the unmodified Flash Player on my system here. I just put the libflashplayer on /usr/lib/opera/plugins and it worked without any changes in the preference or anything else
I have no idea why this works for you. I've spent serious amount of time yesterday trying to fix this, so it certainly doesn't look like rare one-time glitch.
 
Old 02-10-2009, 12:17 AM   #13
alMubarmij
Member
 
Registered: Dec 2005
Posts: 140
Blog Entries: 1

Rep: Reputation: 16
Opera for Slackware ?

Is there a Slackware package for Opera ?
And where can I get it with its dependencies ?
Thanks.

Last edited by alMubarmij; 02-10-2009 at 12:54 AM.
 
Old 04-28-2009, 10:07 AM   #14
Logan87
LQ Newbie
 
Registered: Apr 2009
Distribution: Slackware
Posts: 3

Rep: Reputation: 1
Here is the solution. Opera 9.64 and Flash Player 10.0.22.87.


First type this in terminal to see what you are missing:

Code:
ldd libflashplayer.so | grep "not found"
Output will be probably somethig like this:

Code:
libsmime3.so => not found
libssl3.so => not found
libplds4.so => not found
libplc4.so => not found
libnspr4.so => not found
libsoftokn3.so => not found
libplc4.so => not found
libplds4.so => not found
libnspr4.so => not found

Now all you have to do is to find those files and create symlinks to /usr/lib.
If you have installed Firefox or OpenOffice those files can be found in their respective folders:

Code:
/opt/openoffice.org/basis3.0/program
/usr/lib/firefox-2.0.0.10

If you don't have any of those install packages containing those files and make symlinks.

Example:

Code:
ln -s /usr/lib/firefox-2.0.0.10/libnss3.so /usr/lib/libnss3.so
Repeat this for all files that are missing, and that's it. You will have fully functional Flash Player on Opera.

Last edited by Logan87; 04-28-2009 at 11:48 AM.
 
Old 04-28-2009, 11:38 AM   #15
fastestOS
LQ Newbie
 
Registered: Jun 2008
Location: @terminal
Distribution: Slackware forever
Posts: 29

Rep: Reputation: 16
Opera and Flash packages are both available on Slackbuilds.org
Try uninstalling the existing flash and opera in your system and install the ones from Slackbuilds.

This should work for you as it worked for me.
BTW, there's already v9.64 Opera. Try installing that.


Have fun
 
  


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
Vuze doesn't see flashplayer 9.0.124.0 on Slackware 12.1 trillobyte Slackware 8 05-29-2008 09:29 PM
Sound in flashplayer on Slackware 12 jannekrille Slackware 5 09-05-2007 02:04 PM
flashplayer in slackware Clarence27 Slackware 3 09-13-2006 06:13 AM
Opera,Flashplayer,and Java marksstroud Linux - Software 0 09-07-2003 10:08 PM
flashplayer doesn't work in Opera Duukkis Linux - Software 3 07-06-2003 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration