View previous topic :: View next topic |
Author |
Message |
LaNcom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Tue Aug 31, 2004 8:12 pm Post subject: HOWTO: 32bit plugins on 64bit Konqueror |
|
|
UPDATE:
No need to go through this anymore - I made a package and an install script. Check the replies below!
===============================================
OK, for those that don't know it: it works, SUSE does it, it's easy. It doesn't work with Mozilla, Firefox or anything else!
Here's what you need:
At http://sunsite.mff.cuni.cz/MIRRORS/ftp.suse.com/pub/suse/x86_64/9.1/suse/i586/ get:
libidn-32bit-9.1-200404070910.i586.rpm
fam-32bit-9.1-200404070910.i586.rpm
Extract those files using rpm2targz, and copy the libraries to /usr/lib32...
Next, go to http://kde.gnusoft.net/stable/3.3/SuSE/ix86/9.0/ and download:
kdebase3-nsplugin-3.3.0-8.i586.rpm
kdelibs3-3.3.0-7.i586.rpm
libart_lgpl-2.3.16-86.i586.rpm
qt3-3.3.3-6.i586.rpm
Extract those files like described above, and copy libqt-mt.so.3, libkdecore.so.4, libDCOP.so.4, libkdefx.so.4, libkdesu.so.4, libkdeui.so.4, libkparts.so.2, libkwalletclient.so.1 and libkio.so.4 to /usr/lib32. Then back-up /usr/kde/3.3/bin/nspluginviewer and nspluginscan and replace them with the 32bit binaries from the SUSE RPM, and you're done!
Doing this, you'll of course loose 64bit plugin support, but as there are no 64bit plugins yet, that's not really a big loss.
So far, I tested it with Flash 6, Flash 7 and Crossover Office plugins, without fail...!
UPDATE: first link fixed.
Last edited by LaNcom on Mon Sep 06, 2004 2:34 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LaNcom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Wed Sep 01, 2004 2:56 pm Post subject: |
|
|
I created an archive containing all the necessary support libraries and binaries, as well as simple setup script. I would prefer an ebuild, but I couldn't make it work. I would like to hear if it works/ don't works, because I'm not really sure I didn't miss any libraries...
The script must (of course) be run as root - it won't overwrite anything, and it will backup the 64bit binaries it replaces...
Get it at http://www.froq.net/flash64/flash64.tar.bz2 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Config Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/10050817523f0b603b09eb4.gif)
Joined: 25 May 2003 Posts: 187 Location: Zurich, Switzerland
|
Posted: Thu Sep 02, 2004 12:36 pm Post subject: |
|
|
Sorry mate, but it didn't work yet. When I press 'scan for new plugins', the progress bar wouldn't even appear. I guess there is something missing - I'll have a look _________________ Config - caught by a chronic disease called tuxmania.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Config Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/10050817523f0b603b09eb4.gif)
Joined: 25 May 2003 Posts: 187 Location: Zurich, Switzerland
|
Posted: Thu Sep 02, 2004 12:40 pm Post subject: |
|
|
You're missing the fam an idn libs in the bz2 package. And the link is dead for some reason.
Let's hope this will fix it
EDIT: The link is dead, because there is a comma in the link - remove it and it'll work ![Wink ;)](images/smiles/icon_wink.gif) _________________ Config - caught by a chronic disease called tuxmania.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LaNcom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Thu Sep 02, 2004 12:42 pm Post subject: |
|
|
Check the 32bit nspluginscan/ -viewer using ldd, and try to run them from a command line. Oh, and remember, the files in the archive are from KDE 3.3, maybe you're using KDE 3.2.x? I don't really know if that could be the problem...
UPDATE:
The idn thing is strange, the KDE 3.3 binaries in the archive I provided (for SuSE 9.0) didn't seem to depend on libidn... and libfam.so.0 is included. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Config Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/10050817523f0b603b09eb4.gif)
Joined: 25 May 2003 Posts: 187 Location: Zurich, Switzerland
|
Posted: Thu Sep 02, 2004 12:51 pm Post subject: |
|
|
No, I'm on kde-3.3.
I found the problem:
-Add the fam/libdn files to your package
-You have to run ldconfig after copying the library files, or it won't find them
Great, it works. What I would love to see is a recovery procedure if you want to get back. Just a little script in the package that says: remove_that_thing_because_I_want_64bit_plugins
But anyway - great work _________________ Config - caught by a chronic disease called tuxmania.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LaNcom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Thu Sep 02, 2004 1:06 pm Post subject: |
|
|
I updated the setup script to run ldconfig after the setup and added a restore script. libfam is included, libidn doesn't seem to be needed with these binaries (it was for KDE 3.3 on SuSE 9.1).
Get it at http://www.froq.net/flash64/flash64.tar.bz2 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
celloandy Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 29 Jan 2003 Posts: 113 Location: Washington, DC
|
Posted: Thu Sep 02, 2004 9:02 pm Post subject: |
|
|
How does this work? Is there some way to apply a similar trick to moz/firefox?
Andrew |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LaNcom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Thu Sep 02, 2004 9:39 pm Post subject: |
|
|
No - I mean, it might be possible, but not that easy. As you probably know, it's not possible to link 32bit and 64bit libs without some sort of 'glue' (thunking layer, probably hard to implement). There's no such thing for Linux/ AMD64 yet, that's why a 64bit Mozilla can't load 32bit plugins (Mozilla plugins are not simple stand-alone executables, but libraries).
KDE, on the other hand, uses an external executable (nspluginviewer) to load and run plugins, and a 32bit loader is, of course, able to load 32bit plugins. The communication between Konqueror and nspluginviewer seems to be based on DCOP, a KDE-only messaging system, and DCOP allows 32bit and 64bit apps to communicate. That's why that hack works...
So, to do something similar with Mozilla, it might be possible to create a stand-alone 32bit plugin host that communicates with some sort of generic 64bit Mozilla plugin (somehing like Plugger) via DCOP or D-BUS or something like that. I don't know how hard that would be, but it might be simpler to just use Konqueror for now... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
doerrfleischfee n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/BaldursGate/baldursgate_eldoth.gif)
Joined: 11 Sep 2002 Posts: 27 Location: Bayreuth, Germany
|
Posted: Thu Sep 02, 2004 11:07 pm Post subject: |
|
|
Jippie, it works
YOU are my personal hero! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Evangelion Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/16737515173e68ff23d9624.jpg)
Joined: 31 May 2002 Posts: 1087 Location: Helsinki, Finland
|
Posted: Fri Sep 10, 2004 4:34 pm Post subject: |
|
|
it works! Oh sweet Jesus, this rules!
I do have one problem still. When I visit www.aceshardware.com, it still asks me how I would like to open some .swf-file. Now, swf is Flash, right? Why can't Konqueror open it on that site?
If I tell it to open that file using Konqueror, it opens a new Konqi-window and displays the animation there. Weird. _________________ My tech-blog | My other blog |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LaNcom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Sat Sep 11, 2004 12:43 am Post subject: |
|
|
Evangelion,
This may be a bug in the the site's HTML code or in Konqueror - the same thing happens at amdzone.com (also a newegg ad). Konqueror doesn't like constructions like that (but I don't know why, maybe 'value' in the object tag is wrong, because it doesn't contain an URL):
Code: |
<object width="728" height="70">
<param name="newegg725amdzone" value="newegg725amdzone.swf">
<embed src="http://65.119.30.151/UploadFilesForNewegg/onlineads/newegg725amdzone.swf" width="728" height="75">
</embed></object>
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Erdie Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17561033924c7a8ef6316cf.jpg)
Joined: 20 May 2004 Posts: 2566 Location: Heidelberg - Germany
|
Posted: Sun Sep 12, 2004 12:21 pm Post subject: It work perfectly |
|
|
LaNcom,
you are the man !
cool .. it work perfectly, better than in Firefox-bin
thx
Erdie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LordHugeMongus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Aug 2003 Posts: 14 Location: Michigan
|
Posted: Sun Sep 12, 2004 2:07 pm Post subject: |
|
|
LaNcom wrote: | I updated the setup script to run ldconfig after the setup and added a restore script. libfam is included, libidn doesn't seem to be needed with these binaries (it was for KDE 3.3 on SuSE 9.1).
Get it at http://www.froq.net/flash64/flash64.tar.bz2 |
works great, i now have flash support in knoqueror thank you! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Erdie Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17561033924c7a8ef6316cf.jpg)
Joined: 20 May 2004 Posts: 2566 Location: Heidelberg - Germany
|
Posted: Wed Sep 22, 2004 10:33 am Post subject: Upgrade to kde 3.3 |
|
|
Yesterday I was offered to upgrade from kde 3.2 to 3.3. Now I am afraid that this will not work afterwords when the upgrade is finished. Is this realistic?
Erdie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LaNcom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Wed Sep 22, 2004 11:05 am Post subject: |
|
|
Erdie,
there's no problem with upgrading. In fact, the nspluginviewer in the archive is from KDE 3.3.0. Just reinstall the 32bit viewer after upgrading (to be sure, you could also uninstall the viewer before updating and reinstall afterwards). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Erdie Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17561033924c7a8ef6316cf.jpg)
Joined: 20 May 2004 Posts: 2566 Location: Heidelberg - Germany
|
Posted: Fri Sep 24, 2004 9:53 am Post subject: |
|
|
LaNcom,
thanks, I upgraded to kde 3.3.0 and it works without any reinstallation? I don´t understand that, but who cares
Perhaps the upgrade was not complete? I was performed over night and emerge world does not show open tasks ..
thx
Erdie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logon Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 22 May 2002 Posts: 182 Location: Bonn / NRW Germany
|
Posted: Tue Sep 28, 2004 9:17 am Post subject: |
|
|
Hi,
thanks for the great package. I guess i would have been to lazy to do this by myself. Damn paper I have to write for university i haven't time either. Anyway i used your package and it kind of worked. I do have sound from flash files in konqueror now. But no picture... wierd?! Any ideas anyone?
EDIT: Could it be a problem with prelinking? I did prelink -afmR after installing your package. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eje211 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/180102691242483397868c8.gif)
Joined: 09 Sep 2004 Posts: 128 Location: London, UK
|
Posted: Sun Dec 05, 2004 6:13 pm Post subject: |
|
|
I had the same problem, so I downgraded to Flash 6 and now it works. I don't know why and, given my previous experience with proprietary software, I don't want to know.
Also check that all the ebuilds of
Code: | emerge -s emul-linux-x86 |
are installed. If the graphics emulation ebuilds aren't installed, you'll have no display. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sheepdogj15 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_edwin.gif)
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Mon Jan 24, 2005 11:40 am Post subject: |
|
|
man, if it weren't for bad luck, i'd have no luck at all.
have all the emul-..libs installed except qtlibs which is masked, and i ran the script as root.
however, when i scan for plugins, Konquerer doesn't detect the flash plugin. can someone tell me what i did wrong? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Redeeman l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/117688223440573d81a4402.jpg)
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Tue Feb 15, 2005 4:20 pm Post subject: |
|
|
does this mean i also need the emul-linux thingies? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kuhrscher Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/422445208412bbc2464ffa.jpg)
Joined: 29 Dec 2003 Posts: 498 Location: Hamburg, Germany
|
Posted: Sat Mar 12, 2005 8:04 pm Post subject: |
|
|
Does this hack still work this way? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kuhrscher Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/422445208412bbc2464ffa.jpg)
Joined: 29 Dec 2003 Posts: 498 Location: Hamburg, Germany
|
Posted: Sun Mar 13, 2005 12:42 am Post subject: |
|
|
I created a new archive with the old setup script but the most recent libs to work with kde-3.3.2.
Download |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
snakattak3 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13206755614048fb6fe77eb.gif)
Joined: 11 Dec 2002 Posts: 468 Location: Seattle
|
Posted: Tue Mar 29, 2005 4:24 pm Post subject: |
|
|
Any chance of this working with kde-3.4? _________________ Ban Reality TV!
Adopt an Unanswered Post |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kuhrscher Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/422445208412bbc2464ffa.jpg)
Joined: 29 Dec 2003 Posts: 498 Location: Hamburg, Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|