Lost password? | Help

[ advanced search ]

Flash videos (Youtube) don't work with Opera 9.20 on Solaris 9

Forums » Opera Community » Opera desktop platforms » Opera for UNIX - Linux, Solaris, FreeBSD

Go to last post

Wednesday, 18. April 2007, 22:27:31

Le.RuTT

avatar

Posts: 16

France

Flash videos (Youtube) don't work with Opera 9.20 on Solaris 9

Everything is in the title :wink:

Flash displays "Loading" when I (try to) play a Youtube video: I can see the download progress in the seek bar, but it's impossible to read it.

Opera 9.20, last build, Solaris 9, last version of Flash for Solaris (v7 I guess).

Is it an Opera bug or just because the Solaris Flash plugin is obsolete (I don't think it's the good reason because it works well with Firefox 2.0)?

Thanks :wink:

Thursday, 19. April 2007, 06:24:45

csant

from outer space

avatar

Posts: 1998

Norway

Opera Software
Have you tried the Flash 9 beta?

Thursday, 19. April 2007, 14:26:19

Le.RuTT

avatar

Posts: 16

France

Unfortunately, Opera doesn't detect it. Same problem with Firefox.

Thursday, 19. April 2007, 18:29:05

csant

from outer space

avatar

Posts: 1998

Norway

Opera Software
After installing it, you need to point Opera to the location of the plug-in in prefs > advanced > content > plugins etc...

Thursday, 19. April 2007, 19:06:36

Le.RuTT

avatar

Posts: 16

France

It's exactly what I did: I tried to put it in my profile folder (.opera/plugins) and next, in the Opera folder (lib/plugins). I clicked "Find new" each times and Opera found nothing. Firefox had the same behaviour (about: plugins page -> no Flash).

So, I tested what happens if I put my previous Flash lib (v7) and it's detected (Opera & Firefox).

Of course, it's certainly a Adobe Flash issue (Opera isn't perfect but it's not the root of evil:devil:) but, however, with Flash v7, Firefox reads YouTube videos while Opera can't. Same thing with Dailymotion.

I'll attach some screenshots ASAP (it's not my personal computer).

Oh, I use the static build (if you're wondering).

Friday, 20. April 2007, 05:45:41

csant

from outer space

avatar

Posts: 1998

Norway

Opera Software
Could you please run
$ opera -debugplugin

and post your output?

Saturday, 21. April 2007, 12:02:10

nilkki

avatar

Posts: 30

Finland

Not trying to hijack this thread but i have the same symptoms though im using linux, x86, gentoo, kde 3.5.6

From opera:about
Version 9.20
Build 638
Platform Linux
System i686, 2.6.20-gentoo-r6
Qt library 3.3.6
Java Java Runtime Environment installed

~ $ opera -debugplugin
operapluginwrapper: [plugin probing] /opt/opera/lib/opera/plugins/libnpp.so
opera: plugin detection successful: /opt/opera/lib/opera/plugins/libnpp.so
operapluginwrapper: [plugin probing] /opt/netscape/plugins/nppdf.so
opera: plugin detection successful: /opt/netscape/plugins/nppdf.so
operapluginwrapper: [plugin probing] /opt/netscape/plugins/libflashplayer.so
opera: plugin detection successful: /opt/netscape/plugins/libflashplayer.so

(process:5716): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5716): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);


Don't whats the case with solaris but in my case could the above two lines be the cause?

Saturday, 21. April 2007, 14:26:39

Tracio

avatar

Posts: 4106

Originally posted by nilkki:

Don't whats the case with solaris but in my case could the above two lines be the cause?



Those errors are common everytime Flash is loaded.

Originally posted by nilkki:

opera: plugin detection successful: /opt/netscape/plugins/libflashplayer.so



See if placing libflashplayer.so in other directory (opera's own for example) and removing the path to the netscape one from ~/.opera/pluginpath.ini makes any difference.

Saturday, 21. April 2007, 14:47:04 (edited)

nilkki

avatar

Posts: 30

Finland

Originally posted by Tracio:

See if placing libflashplayer.so in other directory (opera's own for example) and removing the path to the netscape one from ~/.opera/pluginpath.ini makes any difference.


Everytime i remove it from pluginpath.ini and restart opera it reappears there (and it probes it). Besides it's the only place that i have it on my system and it's the default installation directory for netscape-flash (=name of flash plugin in gentoo).
I'll try and manually move libflashplayer.so to /opt/opera/lib/opera/plugins, but i doubt it'll have any effect.

EDIT: just to remind you that flash is partially working, for example myspace flash player plays music and shows visuals.

Saturday, 21. April 2007, 14:51:57

rwf

avatar

Posts: 2109

USA

If /opt/netscape/plugins/ is listed in your ~/.opera/pluginpath.ini file, stop Opera and edit the pluginpath.ini file and set /opt/netscape/plugins=2. That should force Opera to stop searching this directory.

Saturday, 21. April 2007, 14:54:45

Tracio

avatar

Posts: 4106

Originally posted by nilkki:

Everytime i remove it from pluginpath.ini and restart opera it reappears there (and it probes it). Besides it's the only place that i have it on my system and it's the default installation directory for netscape-flash (=name of flash plugin in gentoo).I'll try and manually move libflashplayer.so to /opt/opera/lib/opera/plugins, but i doubt it'll have any effect.



Copy it to Opera's own directory and then set the netscape path to 2 in ~/.opera/pluginpath.ini.

Originally posted by nilkki:

EDIT: just to remind you that flash is partially working, for example myspace flash player plays music and shows visuals.



Where doesn't it work?.

Saturday, 21. April 2007, 14:58:05

nilkki

avatar

Posts: 30

Finland

Videos on youtube doesn't work, just like the original poster, it downloads it but doesn't play it.

Saturday, 21. April 2007, 15:09:55

nilkki

avatar

Posts: 30

Finland

You gotta be kidding me!
Videos on youtube works after moving it to /opt/opera/lib/opera/plugins/ and changing /opt/netscape/plugins=2.

Thanks a lot for your help!

How the hell could it matter which directory the plugin is as long as it's searched? Weird.

Saturday, 21. April 2007, 15:18:38

rwf

avatar

Posts: 2109

USA

A little light reading
http://groups.google.com/group/opera.linux/browse_thread/thread/7480dd1e44e7cf05/07e17b2bb64b796d#07e17b2bb64b796d

Pay particular attention to the comments by Eirik Byrkjeflot Anonsen -- he works for Opera (or at least Opera pays his salary).

Saturday, 21. April 2007, 15:31:16

nilkki

avatar

Posts: 30

Finland

From the above link:

Yes, I'd forgotten about that. At least some versions of flash refuse
to run if they are installed in a path where one of the components is
"netscape". I don't remember the details anymore.


Sunday, 22. April 2007, 00:35:24

Le.RuTT

avatar

Posts: 16

France

Originally posted by csant:

Could you please run

$ opera -debugplugin

and post your output?



Okay, so this is what happens without Flash on a YouTube page:
bash-2.05$ opera http://www.youtube.com/watch?v=-SXIRZkGD8k -debugplugin
operapluginwrapper: [plugin probing] /u/HOME/user/opera/lib/opera/plugins/libnpp.so
opera: plugin detection successful: /u/HOME/user/opera/lib/opera/plugins/libnpp.so
opera: Shared memory extension not available

Normal.



With Flash 7:
bash-2.05$ cp OperaDownloads/install_flash_player_7_solaris/libflashplayer.so opera/lib/opera/plugins/
bash-2.05$ opera http://www.youtube.com/watch?v=-SXIRZkGD8k -debugplugin
operapluginwrapper: [plugin probing] /u/HOME/user/opera/lib/opera/plugins/libnpp.so
opera: plugin detection successful: /u/HOME/user/opera/lib/opera/plugins/libnpp.so
operapluginwrapper: [plugin probing] /u/HOME/user/opera/lib/opera/plugins/libflashplayer.so
opera: plugin detection successful: /u/HOME/user/opera/lib/opera/plugins/libflashplayer.so
opera: Shared memory extension not available
ld.so.1: operapluginwrapper: fatal: relocation error: file /user/opera/lib/opera/plugins/libflashplayer.so: symbol nanosleep: referenced symbol not found
opera: Plug-in 20653 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked plug-ins.
X connection to hopper:10.0 broken (explicit kill or server shutdown).

So, the video is fully downloaded, but I can't read it and the error message appeared about this time.
I closed Opera, that's why I got the "X connection..." message.



So now, with Flash 9 Beta:
bash-2.05$ cp OperaDownloads/flash_player_9_solaris_r31_d51_sparc/libflashplayer.so opera/lib/opera/plugins/
bash-2.05$ opera http://www.youtube.com/watch?v=-SXIRZkGD8k -debugplugin
operapluginwrapper: [plugin probing] /u/HOME/user/opera/lib/opera/plugins/libnpp.so
opera: plugin detection successful: /u/HOME/user/opera/lib/opera/plugins/libnpp.so
operapluginwrapper: [plugin failed ] /u/HOME/user/opera/lib/opera/plugins/libflashplayer.so, ld.so.1: operapluginwrapper: fatal: libfontconfig.so.1: open failed: No such file or directory
opera: pluginwrapper exited cleanly with exit code 1 during plug-in detection
opera: Shared memory extension not available

So, it seems I need a lib to run it, but where can I get it?

I'll try the "netscape plugin=2" trick ASAP.

Sunday, 22. April 2007, 04:23:47 (edited)

rwf

avatar

Posts: 2109

USA

Well I don't know anything about Solaris, but it appears you have some serious problems
  1. Version 7 of Flash is calling the system function nanosleep which isn't found. This means Flash 7 will never run on your system.
  2. This GNU/Linux link http://lists.debian.org/debian-user/1996/10/msg00370.html 'seems' to indicate that the function/procedure is in libc. God only knows where it is on a Solaris system.
  3. Version 9 of Flash requires libfontconfig.so.1 -- which the loader (ld) isn't finding. If it's on your system (use locate libfontconfig.so) ensure that the loader (ld) has the directory in its' search path (/etc/ld.so.config) or do ldconfig -P.
  4. When in doubt always use the man command first. Each distro seems to be different.


Edit: http://www.adobe.com/shockwave/download/alternates/ seems to be saying there's no Flash 9 for Solaris. So you need to discover where nanosleep is on Solaris. If it were my problem, I'd go to the Solaris user forums and start asking questions.

Sunday, 22. April 2007, 15:28:44

csant

from outer space

avatar

Posts: 1998

Norway

Opera Software
There is a Flash 9 beta available for Solaris. Le.RuTT, you might want to report a bug to Adobe.

Monday, 23. April 2007, 18:00:11 (edited)

Le.RuTT

avatar

Posts: 16

France

Originally posted by rwf:

Well I don't know anything about Solaris, but it appears you have some serious problems

  1. Version 7 of Flash is calling the system function nanosleep which isn't found. This means Flash 7 will never run on your system.



So, why Flash 7 works with Firefox :worried:? Take a look at the captures I attached.
FF: 1FF Flash.png
Opera: 1Opera Flash.png

Originally posted by rwf:


  1. This GNU/Linux link http://lists.debian.org/debian-user/1996/10/msg00370.html 'seems' to indicate that the function/procedure is in libc. God only knows where it is on a Solaris system.



Firefox seems to not care about "nanosleep".

Originally posted by rwf:

  1. Version 9 of Flash requires libfontconfig.so.1 -- which the loader (ld) isn't finding. If it's on your system (use locate libfontconfig.so) ensure that the loader (ld) has the directory in its' search path (/etc/ld.so.config) or do ldconfig -P.
  2. When in doubt always use the man command first. Each distro seems to be different.



Yes, "libfontconfig.so.1" is the key of my Flash 9 problem. But, it doesn't explain why Firefox can handle YouTUBE videos while Opera can't. Strange, isn't it?

Originally posted by rwf:

Edit: http://www.adobe.com/shockwave/download/alternates/ seems to be saying there's no Flash 9 for Solaris. So you need to discover where nanosleep is on Solaris. If it were my problem, I'd go to the Solaris user forums and start asking questions.



As you can see in my bash logs, I copied a Solaris SPARC version of "libflashplayer.so". Moreover, there'is also a x86 version on Adobe Labs website (but my workstation is a SPARC).

Sunday, 22. April 2007, 22:43:35

rwf

avatar

Posts: 2109

USA

Duh?

Fact 1: libflashplayer.so was coded for Firefox. They made some dumb decisions about which libraries were present.

Fact 2: They 'assumed' -- as opposed to requiring -- the presence of libfontconfig.so.1.

Fact 3: They 'asummed' the library that contained nanosleep was loaded.

Fact 4: The librarires required by Firefox and Opera are different.

Fact 5: The libraries required by operapluginwrapper and Forefox are different. Opera (really operapluginwrapper) runs Flash as a separate pid.

Fact 6: You have root access to your system -- therefore you are the system administrator. Put bluntly -- you figure it out. Hint, maybe man ld or man ldcongfig or the LD_PRELOAD environmental variable or the ldd command.

I'm exiting this thread.

Editorial comment: Use Firefox if you can't sort out / manage your own system.

Monday, 23. April 2007, 04:58:15

cairninator

avatar

Posts: 1

Gentlemen, gentlemen! This is my first use of Opera 9.2 and also this forum. I have been using Flash 9 on Firefox 2.0.0.3 and now Opera 9.2 on Sidux(debian) with apparently no input on my part. I watch flash videos every day and have never even thought of why it wouldn't work on all Linux distros. I downloaded Opera a couple of hours ago and immediately started watching flash videos with no thought of needing anything else. Either calmly learn your particular distro or find one that does what you want it to do right off the iso! It's all free!

Friday, 27. April 2007, 06:20:54

vanya_y

avatar

Posts: 9

Ukraine

Is there any chance to set /opt/netscape/plugins=2 by default for all users? (I mean systemwide or something..)

Friday, 27. April 2007, 11:20:48

Tracio

avatar

Posts: 4106

Originally posted by vanya_y:

Is there any chance to set /opt/netscape/plugins=2 by default for all users? (I mean systemwide or something..)



You could try editing /usr/share/opera/ini/pluginpath.ini but I haven't tried myself so I can't say whether it actually works or not...

Friday, 27. April 2007, 22:44:15 (edited)

rwf

avatar

Posts: 2109

USA

Yes and no. If you edit the installation file (/usr/share/opera/ini/pluginpath.ini) and remove all directories with the word netscape it 'should' work, or maybe set =2 for directories with netscape in their path. To complete the circle add a soft link in /usr/lib/opera/plugins/ that points to libflashplayer.so

Or you could edit the libflashplayer.so file and change the string netscape to something else.

I would 'test' things out first. untar an opera .gz or .bz2 image and then edit the installation pluginpath.ini file. Then start Opera (./opera). Check the usersettings/pluginpath.ini file to ensure that things look okay.

Good luck,

Edit: See this link http://groups.google.com/group/opera.linux/browse_thread/thread/2064389175fd71df/5e67cbe263f1510c?lnk=gst&q=pluginpath&rnum=3#5e67cbe263f1510c for some further info -- the comments by Espen Sand.

Another Edit: I couldn't get the changes to /usr/share/opera/ini/pluginpath.ini to 'work' --- for some reason Opera was still finding/searching /opt/netscape/plugins/. I 'think' this is a bug in Opera. I just edited the libflashplayer.so file. Opera and Firefox both work w/ the edited file on youtube

Friday, 27. April 2007, 14:59:45

rwf

avatar

Posts: 2109

USA

Issue

o Gentoo installs flash in the /opt/netscape/plugins directory.

o Opera and flash do not work on youtube if the path to libflashplayer.so has 'netscape' in it.

o I attempted to remove the search directory /opt/netscape/plugins from /usr/share/opera/ini/pluginpath.ini -- Opera was still finding /opt/netscape/plugins/ Hmmmm.

o I deleted the entire file /usr/share/opera/ini/pluginpath.ini and Opera still found $PWD/plugins=1 and /opt/netscape/plugins=1

o This test was done from the un-tar'ed download directory (./opera)

o It would be nice if the /opt/netscape/plugins/ directory was not hardcoded and the system administrator could control which directories are globally searched for his users.

Bug reported - # 262691

Friday, 27. April 2007, 22:34:10

rwf

avatar

Posts: 2109

USA

Originally posted by vanya_y:

Is there any chance to set /opt/netscape/plugins=2 by default for all users? (I mean systemwide or something..)


I 'believe' the following is a possible solution to your problem i.e. administrating a system with multiple users.

  • Tell Opera to 'ignore' libflashplayer.so. This means Opera won't pick-up the plugin from /opt/netscape/plugins/.
  • See my post 'O9.20-638(.1) - Plugins to Ignore issue' as way to accomplish this.
  • Put a link in /usr/lib/opera/plugins/

ln -s /opt/netscape/plugins/libflashplayer.so flashplugin.so

  • Or you could add an entry to the /usr/share/opera/ini/pluginpath.ini that searches another directory that has the above link in it.
  • Unforunately nothing is automatic, i.e. you don't want to overwrite /etc/opera6rc.fixed with each update of Opera. The link issue can be solved by looking at the stock pluginpath.ini and picking a directory that either doesn't exist on your system or one for which you are the only one who has access. Put the ln -s in that directory.
  • All of the above assumes you are only concerned about libflashplayer.so being in a directory w/ the word netscape in it. You will have other problems w/ mplayerplug-in.so since Firefox and Opera need separate binaries.


Good luck.

Saturday, 28. April 2007, 23:23:42

Le.RuTT

avatar

Posts: 16

France

Unfortunately, my Flash path doesn't contain "netscape". Argh!!

Sunday, 29. April 2007, 19:08:26

rwf

avatar

Posts: 2109

USA

Originally posted by Le.RuTT:

Unfortunately, my Flash path doesn't contain "netscape". Argh!!



Does Solaris have the 'ldd' command? This command on GNU/Linux prints shared library dependencies.

/opt/netscape/plugins% ldd libflashplayer.so 
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7796000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb777f000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb76af000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb76a3000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb765f000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7601000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb75da000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb729e000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7273000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb71f3000)
        libm.so.6 => /lib/libm.so.6 (0xb71ce000)
        libc.so.6 => /lib/libc.so.6 (0xb70a6000)
        /lib/ld-linux.so.2 (0x80000000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb70a2000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb709d000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7095000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7081000)
        libz.so.1 => /lib/libz.so.1 (0xb706d000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6f83000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6f6d000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6eec000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6ee4000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6eb0000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6eaa000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6e94000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6e91000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6e1e000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6e16000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb6e0f000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6e08000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6e00000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6ddb000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb6db2000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6d95000)
/opt/netscape/plugins% 


The GNU/Linux version of libflashplayer.so (V9) requires libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb75da000) and finds it in /usr/lib/. Therefore I get no fatal: libfontconfig.so.1: open failed: No such file or directory error message.



Forums » Opera Community » Opera desktop platforms » Opera for UNIX - Linux, Solaris, FreeBSD