LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   32-bit Opera doesn't want to work in 64-Bit Kubuntu (http://www.linuxquestions.org/questions/ubuntu-63/32-bit-opera-doesnt-want-to-work-in-64-bit-kubuntu-525324/)

Lordandmaker 02-03-2007 04:11 PM

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?

fragos 02-03-2007 06:57 PM

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.


All times are GMT -5. The time now is 06:03 PM.