You are not logged in.

#1 2010-06-16 11:37:38

infestdead
Member
From: Bulgaria
Registered: 2006-05-10
Posts: 38

running 32 bit stuff on 64bit arch

Hello,
I need to install flixd server (on2 flix engine) on a server.
It installs good on a centos 64bit but I prefer Arch, so I tried it there and it fails.
The check it fails is a ldd check on a 32bit file and the install scripts looks at the output.

on centos 64bit:

# file on2_host_info 
on2_host_info: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
#

# ldd on2_host_info 
    linux-gate.so.1 =>  (0xffffe000)
    libc.so.6 => /lib/libc.so.6 (0x00862000)
    /lib/ld-linux.so.2 (0x00844000)
# uname -a
Linux $my-cnetos-server 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

on arch this looks like this:

# file on2_host_info 
on2_host_info: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
#
# ldd on2_host_info 
    not a dynamic executable
# uname -a
Linux $my-server 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010 x86_64 Intel(R) Xeon(R) CPU X5570 @ 2.93GHz GenuineIntel GNU/Linux
#

As far as I understand, my arch does not work with 32bit executables/libraries. I know there are some wiki articles about such stuff, but I would need chrooting, etc. Is there another (easier) way to make this work, like it does in centos?

Thanks in advance.


............. .......... .........................
......................
Where is Pacman when you need him....

Offline

#2 2010-06-16 13:39:54

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: running 32 bit stuff on 64bit arch

You can try to find the lib32-packages of the needed libs e.g. lib32-glibc for libc.so.6 .

Offline

#3 2010-06-16 13:52:07

infestdead
Member
From: Bulgaria
Registered: 2006-05-10
Posts: 38

Re: running 32 bit stuff on 64bit arch

I've installed that and I have a ldd32 binary, but the installer still fails. I can screw around with it and force it to use ldd32 for the initial check, but I don't know if this won't cause something else not to work.


............. .......... .........................
......................
Where is Pacman when you need him....

Offline

#4 2010-06-17 00:32:35

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: running 32 bit stuff on 64bit arch


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2010-06-17 12:03:12

infestdead
Member
From: Bulgaria
Registered: 2006-05-10
Posts: 38

Re: running 32 bit stuff on 64bit arch

Thanks ngoonee, I read that but was wondering if there was an easier way to use 32bit stuff - like in CentOS, chrooting and keeping a second environment up-to-date is a cumbersome task.


............. .......... .........................
......................
Where is Pacman when you need him....

Offline

#6 2010-06-17 13:42:28

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: running 32 bit stuff on 64bit arch

It takes less time than regularly updating from the AUR lib32 stuff. Which does tend to fall behind (a matter of hours though most of the time) the repos.

I use a 32-bit system chroot because its not just for games, also use skype, google-earth, and acrobat reader. Not too much of a hassle so far, just script the maintainance jobs.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB