Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
Thread Tools Display Modes
Old August 26th, 2006   #1
gsdefender
Just Give Me the Beans!
 
gsdefender's Avatar
 
Join Date: Dec 2005
Location: Italy
Beans: 48
Kubuntu 6.06
Lightbulb A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror browser (in Dapper)!

I have recently returned to Kubuntu after a stay with Debian sid (and hard disk trashing ). I had used a slight modification of the method shown here to get 32 bit Netscape plugins under Konqueror for AMD64 on sid, (here, Italian only, sorry) and after my return I wanted to check out if there was any difference.

For what concerns Java 1.5, the tiny thingie works perfectly as shown there: as I don't want to be considered a spoiler , I prefer redirecting you to the topic.

Good news, instead, for Flash: it can be oversimplified!
There are fewer and easier steps to do:
  1. Enable at least the "universe" repository in /etc/apt/sources.list, then do a
    Code:
    sudo apt-get update
  2. Install some important packages for the 32 bit emulation layer, together with the ALSA support (for sound):
    Code:
    sudo apt-get install ia32-libs ia32-libs-kde lib32asound*
  3. Get the 32 bit konqueror-nsplugins package (the Netscape plugin detector) from here. Be careful to choose the i386 link at the bottom of this page.
  4. Rename some files that may collide with the 32 bit package:
    Code:
    sudo mv /usr/bin/nspluginviewer /usr/bin/nspluginviewer64
    sudo mv /usr/bin/nspluginscan /usr/bin/nspluginscan64
  5. We need to extract only two files from the 32 bit - forcing installation of the package may break something severely. So I suggest installing Midnight Commander, that has a virtual file system for Debian packages:
    Code:
    sudo apt-get install mc
  6. Open Midnight Commander as root with:
    Code:
    sudo mc
  7. Select the konqueror-nsplugins 32 bit package and press ENTER, then navigate to CONTENTS/usr/bin.
  8. Copy nspluginscan and nspluginviewer to /usr/bin by pressing Insert until the two files become yellow, then press F5 and write "/usr/bin" in the To: field.
  9. Quit the Midnight Commander, then do:
    Code:
    sudo mv /usr/bin/nspluginviewer /usr/bin/nspluginviewer32
    sudo mv /usr/bin/nspluginscan /usr/bin/nspluginscan32
    sudo ln -s /usr/bin/nspluginviewer32 /usr/bin/nspluginviewer
    sudo ln -s /usr/bin/nspluginscan32 /usr/bin/nspluginscan
  10. Download Macromedia Flash player, decompress the archive and copy the needed files this way:
    Code:
    sudo mkdir -p /usr/lib/mozilla/plugins
    tar xfz install_flash_player_7_linux.tar.gz
    sudo cp install_flash_player_7_linux/libflashplayer.so /usr/lib/mozilla/plugins
    sudo cp install_flash_player_7_linux/flashplayer.xpt /usr/lib/mozilla/plugins
  11. Try Settings -> Configure Konqueror -> Plugin -> Locate new plugins (I only "think" they are called as so, as all I have at the moment is the italian localization ), then see if a plugin is detected in Plugin.
Enjoy!
__________________
<glyph> the answer, of course, is "**** Windows"

Have a drink, please.

Last edited by gsdefender; August 28th, 2006 at 06:44 AM.. Reason: Better version of the first step needed to accomplish the task
gsdefender is offline   Reply With Quote
Old August 27th, 2006   #2
jyhelle
5 Cups of Ubuntu
 
Join Date: Oct 2005
Beans: 16
Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror browser (in Dapper)!

works great ! thanks / grazie mille
jyhelle is offline   Reply With Quote
Old October 25th, 2006   #3
vlo
First Cup of Ubuntu
 
Join Date: Oct 2006
Beans: 5
Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror...

Didn't work for me. After following your guide I did the following:

I got it working by copying the following files from the following 32-bit packages to my /usr/lib32 directory. The packages can be found at http://packages.ubuntu.com/ . All the files reside in CONTENTS/usr/lib/ inside the archives.

libXcursor.so.1 and libXcursor.so.1.0.2 from package libxcursor1
libXfixes.so.3 and libXfixes.so.3.0.0 from package libxfixes3
libXft.so.2 and libXft.so.2.1.2 from package libxft2
libartsdsp.so.0 and libartsdsp.so.0.0.0 from package libarts1c2a
libartsc.so.0 libarts.so.0.0.0 from package libartsc0
vlo is offline   Reply With Quote
Old October 25th, 2006   #4
kuja
Chocolate Ubuntu Mocha Blend
 
kuja's Avatar
 
Join Date: Jan 2006
Location: Virginia
Beans: 1,868
Kubuntu 8.10 Intrepid Ibex
Send a message via AIM to kuja Send a message via MSN to kuja Send a message via Yahoo to kuja
Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror...

Looks more complicated then you give it credit for, but doable. After doing this, will my 64-bit plugins still work?
__________________
"I refuse to be part of a society that encourages the rampant abuse of its own language." ~ The Black Mage
kuja is offline   Reply With Quote
Old October 26th, 2006   #5
gsdefender
Just Give Me the Beans!
 
gsdefender's Avatar
 
Join Date: Dec 2005
Location: Italy
Beans: 48
Kubuntu 6.06
Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror...

Quote:
Originally Posted by vlo View Post
Didn't work for me. After following your guide I did the following:

I got it working by copying the following files from the following 32-bit packages to my /usr/lib32 directory. The packages can be found at http://packages.ubuntu.com/ . All the files reside in CONTENTS/usr/lib/ inside the archives.

libXcursor.so.1 and libXcursor.so.1.0.2 from package libxcursor1
libXfixes.so.3 and libXfixes.so.3.0.0 from package libxfixes3
libXft.so.2 and libXft.so.2.1.2 from package libxft2
libartsdsp.so.0 and libartsdsp.so.0.0.0 from package libarts1c2a
libartsc.so.0 libarts.so.0.0.0 from package libartsc0
These dependencies weren't needed when I wrote the howto, sorry.
__________________
<glyph> the answer, of course, is "**** Windows"

Have a drink, please.
gsdefender is offline   Reply With Quote
Old October 26th, 2006   #6
gsdefender
Just Give Me the Beans!
 
gsdefender's Avatar
 
Join Date: Dec 2005
Location: Italy
Beans: 48
Kubuntu 6.06
Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror...

Quote:
Originally Posted by kuja View Post
Looks more complicated then you give it credit for, but doable. After doing this, will my 64-bit plugins still work?
No: by replacing those executables you will be limited to 32-bit plugins only.
__________________
<glyph> the answer, of course, is "**** Windows"

Have a drink, please.
gsdefender is offline   Reply With Quote
Old October 26th, 2006   #7
kuja
Chocolate Ubuntu Mocha Blend
 
kuja's Avatar
 
Join Date: Jan 2006
Location: Virginia
Beans: 1,868
Kubuntu 8.10 Intrepid Ibex
Send a message via AIM to kuja Send a message via MSN to kuja Send a message via Yahoo to kuja
Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror...

Quote:
Originally Posted by gsdefender View Post
No: by replacing those executables you will be limited to 32-bit plugins only.
Thought so.
__________________
"I refuse to be part of a society that encourages the rampant abuse of its own language." ~ The Black Mage
kuja is offline   Reply With Quote
Old January 27th, 2007   #8
heinkel_111
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 22
Kubuntu 6.06
Cool Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror browser (in Dapper

Hmm I am just in the process of testing this, on an machine running Kubuntu Edgy 64 on AMD64X2 processor

I removed all the "free" GNU-flash an other non-proprietary versions from my system. I followed the steps in the top post and also checked the dependencies. Then I started a new konqueror from the command line, and browsed off to youtube to test.

The results are, so far, promising but not satisfactory:
- audio is perfect
- video is also perfect (as far as I can see) but
the window where the flash video plays doesn't have the ordinary "player" appearance: there is no slider, no play button, no sound controller - the entire player control panel is gone

Am I missing a component? Shoud the flashplayer-mozplugin.so also be there? (As of now I only have the flashplayer.xpt and libflashplayer.so installed as 32 bit plugins).

These are the error messages generated in konsole while testing this random youtube movie page:
Code:
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: PKCS7_content_free
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: OpenSSL_add_all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: OPENSSL_add_all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.8: undefined symbol: OpenSSL_add_all_algorithms_conf
ERROR: ld.so: object '/usr/lib/libartsdsp.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libartsc.so.0' from LD_PRELOAD cannot be preloaded: ignored.

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

(process:7969): 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);

(<unknown>:7969): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
QObject: 17 timers now exist for object KJS::WindowQObject::unnamed
QObject: 18 timers now exist for object KJS::WindowQObject::unnamed
.....counts up until..........
QObject: 63 timers now exist for object KJS::WindowQObject::unnamed
QObject: 20 timers now exist for object KJS::WindowQObject::unnamed
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  10
  Minor opcode:  0
  Resource id:  0x4c00008
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  7
  Minor opcode:  0
  Resource id:  0x4c00008
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x4c00008
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  10
  Minor opcode:  0
  Resource id:  0x4c00021
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  7
  Minor opcode:  0
  Resource id:  0x4c00021
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x4c00021
ERROR: ld.so: object '/usr/lib/libartsdsp.so.0' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libartsc.so.0' from LD_PRELOAD cannot be preloaded: ignored.

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

(process:8004): 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);

(<unknown>:8004): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  10
  Minor opcode:  0
  Resource id:  0x4c00008
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  7
  Minor opcode:  0
  Resource id:  0x4c00008
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x4c00008
I particularily don't like the OpenSSL error mesages here, does anyone understand what they mean?

EDIT: the badgerbadgerbager.com test page seems to work, it is youtube that is not working properly!

Last edited by heinkel_111; January 27th, 2007 at 06:27 PM.. Reason: additional relevant information
heinkel_111 is offline   Reply With Quote
Old January 27th, 2007   #9
heinkel_111
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 22
Kubuntu 6.06
Exclamation Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror browser (in Dapper

I AM TRYING TO GET THIS TO WORK WITH FLASHPLAYER 9, NOT 7!

Adding some more here. in youtube it looks like this, everything is there, but resized so small it is almost invisible in upper left corner of player window:
heinkel_111 is offline   Reply With Quote
Old January 28th, 2007   #10
gsdefender
Just Give Me the Beans!
 
gsdefender's Avatar
 
Join Date: Dec 2005
Location: Italy
Beans: 48
Kubuntu 6.06
Re: A bit easier HOWTO: Sun Java 1.5 and Flash in 64-bit Konqueror browser (in Dapper

Much time has passed, and the latest nspluginwrapper is now compatible with konqueror. I advice you to restore your original files, and give nspluginwrapper + the latest Flash 9 stable a try.
__________________
<glyph> the answer, of course, is "**** Windows"

Have a drink, please.
gsdefender is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:00 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry