Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo64: how to launch 32bit firefox+ 32bit java
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
highland
n00b
n00b


Joined: 05 Nov 2008
Posts: 71

PostPosted: Fri Jun 22, 2012 5:24 pm    Post subject: gentoo64: how to launch 32bit firefox+ 32bit java Reply with quote

Hello

I have gentoo64 bit.
But i need to use webex which has a bug and works only for 32 bit.
So i need firefox+java using 32 bits.

I've searched forum/internet - and found some manuals - but building whole 32bit chroot environment is too much for me.
I've also found that there are command like "linux32 firefox" or "setarch i386 firefox" which supposed to launch my 64bit firefox like 32bits.
But that command does not seems to work. For example:
Code:

pluton ~ # eselect java-nsplugin list
Available 32-bit Java browser plugins
  [1]   emul-linux-x86-java-1.6  current
Available 64-bit Java browser plugins
  [1]   icedtea-7
  [2]   icedtea-bin-6
  [3]   sun-jre-bin-1.6  current


But when i launch "setarch i386 firefox" and start webex i see:
Code:

pluton ~ # ps ax | grep java
16761 ?        Sl     0:07 /opt/sun-jre-bin-1.6.0.33/bin/java.........


Which means that firefox was in 64bit mode and used 64bit java plugin ? (and i get error which is for 64bit webex)

Could anybody help ? How easily run 32bit firefox with 32bit java ?

Thanx
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46361
Location: 56N 3W

PostPosted: Fri Jun 22, 2012 5:44 pm    Post subject: Reply with quote

highland,

What does
Code:
eselect profile list
say your profile is?

If you are /no-multilib/ you will need to change to a normal multilib profile and rebuild the applications you want as 32 bit applications.
This in turn will pull in the required emul- libs.

Your kernel will also need to support 32 bit code.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
highland
n00b
n00b


Joined: 05 Nov 2008
Posts: 71

PostPosted: Fri Jun 22, 2012 6:00 pm    Post subject: Reply with quote

i am multilib (default profile). How to check if application is really working in 32bits ?
Back to top
View user's profile Send private message
grray
n00b
n00b


Joined: 05 Jun 2012
Posts: 1

PostPosted: Sun Jun 24, 2012 12:05 pm    Post subject: Reply with quote

highland wrote:
How to check if application is really working in 32bits ?


Code:
# file /usr/bin/firefox
/usr/bin/firefox: symbolic link to `/usr/lib64/firefox/firefox'
# file /usr/lib64/firefox/firefox
/usr/lib64/firefox/firefox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped


In your case it should say "32-bit"
Back to top
View user's profile Send private message
highland
n00b
n00b


Joined: 05 Nov 2008
Posts: 71

PostPosted: Sun Jun 24, 2012 5:20 pm    Post subject: Reply with quote

I have:
Code:

pluton ~ # file /usr/bin/firefox
/usr/bin/firefox: symbolic link to `/usr/lib64/firefox/firefox'
pluton ~ # file /usr/lib64/firefox/firefox
/usr/lib64/firefox/firefox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped


So - how could i have 32bit firefox under 64bit gentoo. My gentoo is multilib (default profile) - so by default i should have both 32bits and 64bit executable for firefox ?
I used find and i noticed i have just 64 bit version :(
How can i compile/install 32bit version ?
It would be great if i could have both 32bit and 64bit version and just use 32bit version when i really need it.

Thanx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum