
Hello list, I don't know if this is related to the 64bit platform, but I fail to install any plugin in mozilla 1.4 x86_64. I tried Java, Acroread, RealPlayer. When I start mozilla after any symbolic link is in place, this message shows: LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library /usr/X11R6/lib/libXt.so.6 [/usr/X11R6/lib/libXt.so.6: cannot open shared object file: No such file or directory] libXt.so is not on present on my system, libXt.so.6 is there where mozilla looks for it (as a symlink to libXt.so.6.1) Does somebody know what goes wrong? Do I need to install libXt.so? Where does it belong? Why can libXt.so.6 not be found? Thanks. Emile van Mierlo System: Tyan Tiger K8W (s2875), Dual Opteron 244, 2 x 1GB Kinston PC2700 registered RAM Adaptec 29160 SCSI, 2 x Maxtor Atlas 10k4 SCSI Nvidia FX5900 Graphics (Asus V9950SE), Plextor PX-708A CD/DVD Suse 9.0 kernel 2.4.21-201-smp, Nvidia 1.0-5336 driver

Emile van Mierlo <geeko@xs4all.nl> writes:
The plugins are 32-bit code, and Mozilla is 64-bit code. This cannot work together. Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126

The plugins are 32-bit code, and Mozilla is 64-bit code. This cannot work together.
Ok, thanks Andreas, I didn´t know that. How does Konqueror solve this? It works there, except for the pdf plugin. If I look in the instalation data (Yast), I get the impression that the Java jre and plugin is compiled in 64-bit. Is there a way I can check whether a binary is compiled in 64-bit or 32-bit? Thanks again. Emile van Mierlo

geeko@xs4all.nl writes:
Use file or ldd: file /bin/ls ldd /bin/ls Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126

Hi, On Mon, 23 Feb 2004, Emile van Mierlo wrote:
Out of curiosity: How does 64-bit Konqueror do embedded Java and Shockwave Flash? both plugin files are 32-bit.
Out of process. Mozilla does them in-process, so it's required to be 32bit too if it wants to use those plugins. Konqueror is more clever and loads them into their own process so it's not limited in such way. Ciao, Michael.

Out of curiosity: How does 64-bit Konqueror do embedded Java and Shockwave Flash? both plugin files are 32-bit.
for java: istn there a sun jvm for amd64? http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#platform_proc64


On Monday 23 February 2004 16:07, Andreas Bittner wrote:
istn there a sun jvm for amd64? http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#platform_proc64
I just checked: http://java.sun.com/j2se/1.5.0/jre/install-linux-64.html Beta 1 runs on one SuSE version (SLES8 without servicepack 3); browser plugin not yet available. Looks promising though. Emile

It is well known that certain 64-bit programs don't work so well on SuSE 9.0. There are good reasons, for example, that one might want to run Evolution, Mozilla, Netscape and maybe other programs in 32-bit. Also, if one wishes to develop 32-bit applications, it is nice to have a 32-bit system around for that. I've figured out how to do it in a way that provides maximal effect with minimal effort (compared to recompiling every program you wish to run 32-bit). Basically, I have a 32-bit SuSE 9.0 installed on one partition and a 64-bit version installed on another. Then I use a procedure to run the installed 32-bit binaries from the 64-bit kernel. Here is how I set it up: 1. Install 32-bit SuSE 2. Install 64-bit SuSE 3. Mount your SuSE 32 partition as a directory in your SuSE-64 tree. Mount the 64-bit tmp, proc and user data partitions into your SuSE-32 file tree using bind mounts. I did so using the following lines in /etc/fstab (assuming /dev/hda2 is the 32-bit SuSE partition and /dev/hda6 is where my user data is stored; /export/home/xxx is the home directory for user xxx): /dev/hda5 / ext3 defaults 1 1 /dev/hda2 /SuSE32 reiserfs defaults 1 2 /dev/hda6 /export ext3 defaults 1 2 /tmp /SuSE32/tmp none rw,bind 0 0 /proc /SuSE32/proc none rw,bind 0 0 /export /SuSE32/export none rw,bind 0 0 You might also want to bind mount your 64-bit /etc file over to /SuSE32/etc 4. Now, you can use chroot to run 32-bit SuSE programs that have been installed on the /SuSE32 partition. For example, the following will run the 32-bit YaST: su chroot /SuSE32 yast 5. Of course, you might be concerned that this is a cumbersome way to run 32-bit programs. I've made a 32-bit launcher program (called suse32.c) that allows one to do this chroot process easily and automatically, without superuser privileges. Source code is attached. Compile and install with: gcc -o suse32 suse32.c chown root:root suse32 chmod +s suse32 cp suse32 /usr/local/bin 6. Now you can run 32-bit programs simply by prepending 'suse32' to their command lines. A few things to be careful of: a) This particular launcher does NOT search the $PATH variable, although all environment variables are passed through. Thus, you must give the ABSOLUTE PATHNAME of the 32-bit binary you wish to run (relative to the chroot environment). The command: suse32 mozilla will NOT work. However, suse32 /usr/bin/mozilla WILL work. You can also use the following, in the case that you have a program installed in both the 32-bit and 64-bit environments: suse32 `which mozilla` 7. Some programs still might not work without a bit of tinkering. I'm never quite sure why; probably they get the wrong environment or something. For example, to get 32-bit Evolution to work, I had to do: cd /SuSE32/opt/gnome; ln -s lib lib64 I was able to install SuSE Wine Rack and MS Office 2000 in the chroot environment. The resulting system does NOT need suse32 to run. Beware, the KDE desktop integration stuff might not always work perfectly in all cases. No matter, I just invoke MS Office from shell scripts. For example, my script winword looks like: "/SuSE32/opt/cxoffice/bin/wine" --check --cx-app "C://Program Files//Microsoft Office//Office//WINWORD.EXE" $* In order so that ALL programs would use 32-bit mozilla (eg: Evolution), I changed my (SuSE64-partition) /usr/bin/mozilla to a shell script: /export/local/bin/suse32 /usr/bin/mozilla $* 8. You can also change your desktop launcher icons to use this new scheme. For exmaple, the "execute" tab on my Evolution icon has the following command in it: suse32 /opt/gnome/bin/evolution-1.4 9. For easy development in 32 bits, one can just say: suse32 konsole That gives you a 32-bit shell, you can run 32-bit gcc, etc. from it. Actually, I've made a desktop launcher icon that throws up a different-looking konsole, so I know it's 32-bit /export/local/bin/suse32 /opt/kde3/bin/konsole --style marble --icon gnome-term-linux -T '32-Bit' I even chose a different icon for it, so I can keep everything apart easily. --- I've been using this scheme for a couple of weeks and am quite happy with it. Sure it wastes disk space. But once you figure out the half-dozen applications you'd rather run 32-bit and configure them as such, you forget about it all; things "just work". Enjoy, -- Bob

Bob, I think I missed something important here. Why do you need to do what you have done. Is something not working in the /lib or /usr/lib directories? I also installed SuSE Wine Rack and have run Marble Madness (but not yet installed anything on Crossover Wine). What I did was to create a directory /root/cd_update, then cd /root/cd_update ln -s /media/cdrecorder/* . ln -s i386 x86_64 (My CD is mounted as /media/cdrecorder) Then I started yast, went to Patch CD Update and entered /root/cd_update as the location. Best regards On Wednesday 25 February 2004 11:37, Bob Fischer wrote:

On Wednesday 25 February 2004 13:03, Paul C. Leopardi wrote:
PS. I didn't install anything from the Wine Rack CD that I didn't already have on the SUSE Linux DVD. If I had, it might have messed up my system, since the Wine Rack stuff is all 32bit and installing any such RPM would have removed the corresponding 64bit RPM. Also, I meant Marble Blast, not Marble Madness. So, what I installed from the CD was crossover-office crossover-plugin MarbleBlast winex3 and everything else was from the SuSE DVD. Should this have worked? Why or why not? Best regards

On Tue, Feb 24, 2004 at 07:37:20PM -0500, Bob Fischer wrote:
This is the most cumbersome way I have seen ;) What you do is: rpm -e program (remove the 64bit version of it) rpm -i path/to/32bit/program.rpm in the 9.0 64bit system. We provide enough 32bit compat libraries to make this possible. As for starting with 32bit personality we include the "linux32" program, obsoleting your posted suse32.c ;) Ciao, Marcus

Hi, On Wed, 25 Feb 2004, Marcus Meissner wrote:
As for starting with 32bit personality we include the "linux32" program, obsoleting your posted suse32.c ;)
Which also has the advantage of not being setuid, and not requiring chroot magic, which creates headaches for instance with the /proc filesystem. And if your program.rpm really requires 32bit libs we don't provide already, you can install rpms for those too usually, or at least the shared lib files, which won't conflict because of being placed in */lib instead of */lib64 . Ciao, Michael.

Before you knock my scheme, please tell me how you would do the following without it: 1. Install 32-bit binaries of programs that don't work in 64-bit (you already said how to do this). However, attempted installation of Wine Rack on the 64-bit side complained an AWFUL lot, and could have hosed half my system RPMs. It installed without a wimper on the 32-bit side. 2. Make the machine look like a 32-bit system. Linux32 does this sort of. But it absolutely does not obsolete my suse32; suse32 doe as a lot more. Linux32 seems to change the environment globally, rather than just for one process. Linux32 also doesn't do anything about giving access to 32-bit files. 3. Compare a 32-bit and 64-bit version of the same program. 4. Compile 32-bit programs. Yes, there's the -m32 switch. But I've seen a LOT of people complain they couldn't get linking to work. And how much fiddling do you have to do with your configure script before you get it working? I can just say "suse32 konsole" and then, along with linux32, have a standard 32-bit system I know will work for generating 32-bit binaries without any cross compiler garbage. -- Bob

Hi Emile, You can install and run the 32-bit version of Mozilla with no problem and in that version you can use the plugins available for Mozilla. Best wishes, Ödön On Mon, 2004-02-23 at 02:33, Emile van Mierlo wrote:
-- ------------------------------------- Ödön Farkas Department of Organic Chemistry, Eötvös Loránd University, P.O.Box 32 Budapest 112.,H-1518 E-mail: farkas@chem.elte.hu URL: http://organ.elte.hu/farkas Phone: (36)-(1)-209-0555, ext. 1325 (36)-(1)-372-2570 (36)-(30)-255-3111 FAX: (36)-(1)-209-0602 (36)-(1)-372-2620 -------------------------------------

Emile van Mierlo <geeko@xs4all.nl> writes:
The plugins are 32-bit code, and Mozilla is 64-bit code. This cannot work together. Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126

The plugins are 32-bit code, and Mozilla is 64-bit code. This cannot work together.
Ok, thanks Andreas, I didn´t know that. How does Konqueror solve this? It works there, except for the pdf plugin. If I look in the instalation data (Yast), I get the impression that the Java jre and plugin is compiled in 64-bit. Is there a way I can check whether a binary is compiled in 64-bit or 32-bit? Thanks again. Emile van Mierlo

geeko@xs4all.nl writes:
Use file or ldd: file /bin/ls ldd /bin/ls Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126

Hi, On Mon, 23 Feb 2004, Emile van Mierlo wrote:
Out of curiosity: How does 64-bit Konqueror do embedded Java and Shockwave Flash? both plugin files are 32-bit.
Out of process. Mozilla does them in-process, so it's required to be 32bit too if it wants to use those plugins. Konqueror is more clever and loads them into their own process so it's not limited in such way. Ciao, Michael.

Out of curiosity: How does 64-bit Konqueror do embedded Java and Shockwave Flash? both plugin files are 32-bit.
for java: istn there a sun jvm for amd64? http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#platform_proc64
participants (10)
-
Andreas Bittner
-
Andreas Jaeger
-
Bob Fischer
-
Emile van Mierlo
-
geeko@xs4all.nl
-
Marcus Meissner
-
Michael Matz
-
Odon Farkas
-
Paul C. Leopardi
-
Zdenek Dvorak