LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-03-2007, 04:11 PM   #1
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 39
32-bit Opera doesn't want to work in 64-Bit Kubuntu


I've just installed 64-bit Kubuntu 6.06. First task is trying to get Opera to work. I've already edited sources.list and uncommented everywhere.

The Chroot method is more complex that I've been here:
Quote:
The 32-bit environment in a 64-bit operating system

There are some apps that just don’t have the 64-bit version. Most of them are closed-source applications of commercial software providers like Adobe, Real Networks or Microsoft. The good news is that it is possible to run them in a 64-bit system through 32-bit emulation. In order to take advantage of it, the 32-bit environment needs to be prepared, which is as easy are entering:

sudo apt-get install ia32-libs ia32-libs-gtk linux32

in the command line. From now on, each time we need to execute any 32-bit binary, we invoke a command like this:

linux32 program_name

and this will run the command in our 32-bit environment. As simple as that. But suppose we have a 32-bit package that wasn’t prepared for the amd64 architecture. For such cases, a special option of the dpkg installation tool comes to the rescue: force-architecture. For example:

sudo dpkg --force-architecture \
opera_8.54-20060330.6-shared-qt_en_etch_i386.deb

will install Opera in version 8.54 (as long as it’s downloaded in the current folder, of course).
Which didn't work:

Code:
avi@God:~$ linux32 opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
/usr/lib/opera/9.10-20061214.6/opera: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file:
No such file or directory
I couldn't find any mention of libjvm anywhere, and a google search brought me to EasyUbuntu. I installed it, and got it to install everything remotely relevant-looking (not neccesarily relevant to opera). But still no joy.
I googled the error message and found this:
Quote:
About libjvm.so and libawt.so: those seem to be java SDK related.
So if (like me) you do not have SDK packages installed, you can ignore those errors or edit opera binary as following :
Code:
## Uncomment the next lines to workaround the "libjvm.so & libawt.so preloaded" error message 
#LD_PRELOAD="libjvm.so:libawt.so:${OPERA_LD_PRELOAD}" 
#export LD_PRELOAD
/me chose 2nd solution
But those lines were already edited out on my installer.sh script, and I can't find a combination of comments that make it work.

Any ideas? Have I missed something mind-bendingly obvious?

Last edited by Lordandmaker; 02-03-2007 at 04:20 PM.
 
Old 02-03-2007, 06:57 PM   #2
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
I've been running Ubuntu for the last two releases. I had just purchased my 1st 64bit box and went strait to a 64bit install. I found many 32 bit applications run fine with a 64 bit kernel -- example OpenOffice. I had no end of trouble trying to get Firefox and flash to run as which kernel makes a difference to them. I was frustrated and felt not running 64 bit would somehow be sacrilegious. Once I got over this, I installed the 32 bit system and am quite happy. I don't perceive any lack of performance and my memory size doesn't require 64 bit addressing. My recommendation for sanity is to bit the bullet and run 32 bit.
 
  


Reply



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
Issues running 32-bit apps on 64-bit (Opera, Skype) lydgate Linux - Software 5 05-28-2016 01:57 PM
no KDE in Kubuntu 6.10 64-bit(ATI X800 GTO 256 bit DDr3) exul182 Linux - Hardware 2 01-04-2007 02:47 PM
firefox vs opera in 32 bit chroot otchie1 Linux - Software 0 11-26-2006 12:43 PM
Kubuntu 6.0.6 64-bit Jongi Ubuntu 1 09-07-2006 08:22 AM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM

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

All times are GMT -5. The time now is 10:00 PM.

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