Tiny Core Extensions > TCE Q&A Forum

internet browser recommendations

<< < (3/5) > >>

kagashe:
I googled and found this thread on Ubuntuforums. It seems Opera can't detect libflashplayer.so

I edited the opera binary in /usr/local/bin and added these lines as suggested in the thread:

--- Quote ---# Flash workaround.
LD_PRELOAD="libflashplayer.so:${LD_PRELOAD}"
export LD_PRELOAD
--- End quote ---
above this line:

--- Quote ---# Workarounds for the "preloaded libXt" problem.
--- End quote ---

and it works.

But it works on Ubuntu 8.04 Opera without any hacking. I will check that bin file on Ubuntu later whether this workaround exists there.

kagashe

curaga:
Could you try "opera -debugplugin" on TC with and without that workaround?

kagashe:

--- Quote from: curaga on December 07, 2008, 09:56:24 AM ---Could you try "opera -debugplugin" on TC with and without that workaround?

--- End quote ---
Meanwhile I had a reboot and the opera bin file on reboot did not contain the workaround but it could detect the plugin. Then I thought that the plugin path might be saved in config files on /home/tc/. files. So I rebooted in a new /home/tc without any hidden config files. Opera came with first boot asking to accept the T&C and it did not detect any plugin since there was none. Then I copied the libflashplayer.so to /usr/local/lib/opera/plugins and restarted Opera and it detected the plugin without any workaround.

I don't know what is different this time.

kagashe

kagashe:

--- Quote from: curaga on December 07, 2008, 09:56:24 AM ---Could you try "opera -debugplugin" on TC with and without that workaround?

--- End quote ---

--- Quote ---operapluginwrapper: [plugin failed ] dlopen(RTLD_NOW | RTLD_GLOBAL) failed on /usr/local/lib/opera/plugins/libflashplayer.so
operapluginwrapper: [plugin failed ] With error libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
operapluginwrapper: [plugin failed ] Retrying with dlopen(RTLD_LAZY | RTLD_GLOBAL)

operapluginwrapper: [plugin failed ] dlopen failed on /usr/local/lib/opera/plugins/libflashplayer.so
operapluginwrapper: [plugin failed ] With error libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

operapluginwrapper: [plugin probing] /usr/local/lib/opera/plugins/libflashsupport-normal.so
operapluginwrapper: [plugin failure] No NPP_GetMIMEDescription
operapluginwrapper: [plugin failure] No NPP_GetValue
operapluginwrapper: [plugin probing] dlclose returned : 0
operapluginwrapper: [plugin probing] Return value : 1 File : /usr/local/lib/opera/plugins/libflashsupport-normal.so
opera: X Shared memory extension is not available. ZPixmap not supported

--- End quote ---
Actually workaround is not required but glib2 and gtk2 is required. When I install leafpad which requires gtk2 the dependency is satisfied and I get the following:

--- Quote ---operapluginwrapper: [plugin probing] /usr/local/lib/opera/plugins/libflashsupport.so
operapluginwrapper: [plugin failure] No NPP_GetMIMEDescription
operapluginwrapper: [plugin failure] No NPP_GetValue
operapluginwrapper: [plugin probing] dlclose returned : 0
operapluginwrapper: [plugin probing] Return value : 1 File : /usr/local/lib/opera/plugins/libflashsupport.so

operapluginwrapper: [plugin probing] /usr/local/lib/opera/plugins/libflashplayer.so
operapluginwrapper: [plugin probing] MIMEDescription             : present
operapluginwrapper: [plugin probing] NPPVpluginNameString        : present
operapluginwrapper: [plugin probing] NPPVpluginDescriptionString : present
operapluginwrapper: [plugin probing] dlclose returned : 0
operapluginwrapper: [plugin probing] Return value : 0 File : /usr/local/lib/opera/plugins/libflashplayer.so
opera: X Shared memory extension is not available. ZPixmap not supported
opera: plugin detection successful: /usr/local/lib/opera/plugins/libflashplayer.so

--- End quote ---
I checked by watching youtube movies. It is ok including sound.

kagashe

Kingdomcome:
Flash needing gtk2 would be a good detail to add to the info for opera, could save others from pulling hair.  I have flash stored locally and just symlink after a live-cd boot and loading a browser.  I noticed one time I tried opera shortly after a boot it wouldnt load flash, but did not give it much thought.  I must admit I am favorable and comfortable with FF, but the depencies can be quite cumbersome with only 256MB RAM.  :o

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version