||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
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:
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 \
will install Opera in version 8.54 (as long as it’s downloaded in the current folder, of course).
Which didn't work:
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
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 :
/me chose 2nd solution
## Uncomment the next lines to workaround the "libjvm.so & libawt.so preloaded" error message
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?