You are not logged in.

#1 2011-07-25 15:19:53

mooreted
Member
Registered: 2009-01-01
Posts: 113

Installing 32-bit libraries

I have Arch 64-bit. Followed the instructions here:

https://wiki.archlinux.org/index.php/Us … _on_Arch64

But when I try to run Second Life I get:


The most common problems when launching the Viewer (particularly
'bin/do-not-directly-run-secondlife-bin: not found' and 'error while
loading shared libraries') may be solved by installing your Linux
distribution's 32-bit compatibility packages.
For example, on Ubuntu and other Debian-based Linuxes you might run:
$ sudo apt-get install ia32-libs ia32-libs-gtk ia32-libs-kde ia32-libs-sdl

Offline

#2 2011-07-25 15:27:46

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing 32-bit libraries

why not simply enable multilib repo in pacman.conf and install the required libraries?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-07-25 15:37:53

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

I spent half the night installing anything I could find that might be related. Problem is, I don't know what to install.

Offline

#4 2011-07-25 15:42:54

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing 32-bit libraries

how did you install the game? If you used a properly built PKGBUILD, it should have installed the dependencies for you


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2011-07-25 15:43:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing 32-bit libraries

Offline

#6 2011-07-25 15:45:17

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

Offline

#7 2011-07-25 15:47:16

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing 32-bit libraries

that's the reason why....the names of packages in ubuntu may or may not match package names in Arch. No wonder you couldn't find all of them. Try the package karol linked and see if that works.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2011-07-25 15:56:21

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

The problem is, the official Second Life viewer will not connect to InWorldz which I use a lot.

Nice to know there is an AUR package for regular SL though.

I would downgrade to 32bit Arch but I have 6gb of RAM.

Offline

#9 2011-07-25 18:01:37

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

Doesn't look like Arch has a has a 32-bit environment. You have to setup a chroot jail ie: https://wiki.archlinux.org/index.php/Ar … bit_system

I think I might be installing Fedora this weekend.

I'm really just trying to get away from Ubuntu.

Offline

#10 2011-07-25 18:17:29

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing 32-bit libraries

Good Luck.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2011-07-25 19:52:13

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

Thanks. Just a suggestion for 64-bit users. You guys might work on a script like apt-get install ia32-libs that sets up a basic environment for 32-bit programs. For some odd reason people still don't develop 64-bit programs even though we've had 64-bit computers for the last 10 years. Go figure.

Arch is nice. I like the idea of building just what I need, but not being able to easily run 32-bit programs is a deal breaker.

Offline

#12 2011-07-25 19:54:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing 32-bit libraries

mooreted wrote:

Thanks. Just a suggestion for 64-bit users. You guys might work on a script like apt-get install ia32-libs that sets up a basic environment for 32-bit programs. For some odd reason people still don't develop 64-bit programs even though we've had 64-bit computers for the last 10 years. Go figure.

Arch is nice. I like the idea of building just what I need, but not being able to easily run 32-bit programs is a deal breaker.

The thing is, [multilib] repo should work if you want to use 32-bit apps on a 64-bit system.

Offline

#13 2011-07-26 00:10:57

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

Other than the link I posted above, the only other instructions are:

https://wiki.archlinux.org/index.php/Us … _on_Arch64

Which says:

"OUTDATED:All 32-bit-packages can be found in the [community]-repository. The packages are kept in sync to the ones from arch32. Use them at your own risk."

Do you have a link to a wiki or tutorial I can use to run 32-bit programs on Arch 64? I've been looking for two days now and haven't found a way to do it natively.

Offline

#14 2011-07-26 00:14:13

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

The multilib repo looks like it contains 32-bit program, but what if I buy a game that's 32 bit? What if I need to run software that isn't in the repo? In most distros you just install the 32-bit libraries and it all works seamlessly.

Offline

#15 2011-07-26 00:16:39

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

Sorry, keep having thoughts, always a bad thing wink

I also don't want to do this every time I want to install a program from some other source:

Boot into Arch64, startx, open a term.

$ xhost +local:
$ su
# mount /dev/sda1 /mnt/arch32
# mount --bind /proc /mnt/arch32/proc
# chroot /mnt/arch32
# su your32bitusername
$ /usr/bin/command-you want # or eg: /opt/mozilla/bin/firefox
Some 32-bit apps (like OpenOffice) may require additional bindings. The following lines can be placed in rc.local to ensure you get all you need for the 32-bit apps (assuming /mnt/arch32 is mounted in fstab):

mount --bind /dev /mnt/arch32/dev
mount --bind /dev/pts /mnt/arch32/dev/pts
mount --bind /dev/shm /mnt/arch32/dev/shm
mount --bind /proc /mnt/arch32/proc
mount --bind /proc/bus/usb /mnt/arch32/proc/bus/usb
mount --bind /sys /mnt/arch32/sys
mount --bind /tmp /mnt/arch32/tmp
#comment the following line if you do not use the same home folder
mount --bind /home /mnt/arch32/home
You can then type in a term:

$ xhost +localhost
$ sudo chroot /mnt/arch32 su your32bitusername /opt/openoffice/program/soffice

Offline

#16 2011-07-26 00:17:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing 32-bit libraries

Do you mean https://wiki.archlinux.org/index.php/Be … positories ?
If the app you're trying to run is neither in the repos (official or unofficial) nor in the AUR, you need to create a PKGBUILD and provide all the dependencies (which need to be installed from the repos, the AUR, or you need to create a PKGBUILD for them yourself).

Offline

#17 2011-07-26 00:21:18

mooreted
Member
Registered: 2009-01-01
Posts: 113

Offline

#18 2011-07-26 00:28:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing 32-bit libraries

Are you using the multilib repo and the game still doesn't start?

Offline

#19 2011-07-26 01:29:45

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

The SL viewer in the repo is for Second Live only. It doesn't connect to InWorldz or other open source grids.

Hmm, I wonder if I installed that if it would pull in the dependancies I need for the InWorldz viewer?

I don't know what it's dependancies are or even how to find out.

Offline

#20 2011-07-26 02:09:26

mooreted
Member
Registered: 2009-01-01
Posts: 113

Re: Installing 32-bit libraries

Looks like Imprudence is in AUR, that would work.

What makes me nervous is: What if I buy a commercial Linux game like the Penumbra series. Am I going to have problems with it because I don't have 32-bit libraries for it?

Offline

#21 2011-07-26 02:56:01

ZekeSulastin
Member
Registered: 2010-09-20
Posts: 266

Re: Installing 32-bit libraries

... the 32-bit libraries you install from the multilib repo?

Offline

#22 2011-07-26 03:16:12

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Installing 32-bit libraries

Inxsible wrote:

Good Luck.

Seconded.

--->>>

mooreted,

32 bit libraries are 32 libraries. They're called different things on different distros, but everything that you can get on *buntu or Fedora or Suse, or... is available to you right now in Arch either directly or with a bit of learning.

Offline

#23 2011-11-12 14:25:41

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: Installing 32-bit libraries

Mooreted,

I've been fighting with that issue for while now, and as of yesterday I'm able to run even Hippo. Most libraries are in [multilib] but many aren't and you'll have to download them from AUR. My list of lib32 libraries is:

nikos@Russell:~$ pacman -Q | grep lib32
lib32-acl 2.2.51-2
lib32-alsa-lib 1.0.24.1-1
lib32-alsa-plugins 1.0.24-1
lib32-atk 2.2.0-1
lib32-attr 2.4.46-1
lib32-avahi 0.6.30-5
lib32-bzip2 1.0.6-1
lib32-cairo 1.10.2-2
lib32-cracklib 2.8.18-3
lib32-db 5.1.19-1
lib32-dbus-core 1.4.0-2
lib32-dbus-glib 0.94-1
lib32-e2fsprogs 1.41.14-2
lib32-expat 2.0.1-7
lib32-flac 1.2.1-7
lib32-flex 2.5.35-4
lib32-fontconfig 2.8.0-3
lib32-freealut 1.1.0-4
lib32-freetype2 2.4.6-2
lib32-gcc-libs 4.6.2-1
lib32-gconf 2.32.4-1
lib32-gdbm 1.8.3-9
lib32-gdk-pixbuf2 2.24.0-2
lib32-glib 1.2.10-11
lib32-glib2 2.30.1-1
lib32-glibc 2.14.1-1
lib32-gnome-vfs 2.24.4-5
lib32-gnutls 2.12.2-1
lib32-gtk 1.2.10-12
lib32-gtk2 2.24.7-2
lib32-gtk3 3.0.12-1
lib32-hal 0.5.14-7
lib32-intel-dri 7.11-4
lib32-json-c 0.9-1
lib32-keyutils 1.5.2-1
lib32-krb5 1.9.1-1
lib32-libasyncns 0.8-5
lib32-libcap 2.21-1
lib32-libcups 1.5.0-1
lib32-libdaemon 0.14-2
lib32-libdrm 2.4.27-2
lib32-libffi 3.0.10-3
lib32-libgcrypt 1.4.6-3
lib32-libgl 7.11-4
lib32-libglapi 7.11-4
lib32-libgpg-error 1.9-4
lib32-libgssglue 0.3-1
lib32-libice 1.0.7-1
lib32-libidl2 0.8.14-3
lib32-libidn 1.22-1
lib32-libjpeg-turbo 1.1.1-1
lib32-libldap 2.4.26-1
lib32-libogg 1.2.2-1
lib32-libpciaccess 0.12.1-3
lib32-libpng 1.4.8-1
lib32-libpulse 1.1-1
lib32-libsm 1.2.0-1
lib32-libsndfile 1.0.25-1
lib32-libtiff 3.9.4-3
lib32-libtirpc 0.2.2-2
lib32-libusb 1.0.8-2
lib32-libusb-compat 0.1.3-2
lib32-libvorbis 1.3.2-1
lib32-libx11 1.4.4-1
lib32-libxau 1.0.6-2
lib32-libxcb 1.7-2
lib32-libxcomposite 0.4.3-1
lib32-libxcursor 1.1.11-1
lib32-libxdamage 1.1.3-3
lib32-libxdmcp 1.1.0-1
lib32-libxext 1.2.0-1
lib32-libxfixes 4.0.5-3
lib32-libxft 2.2.0-1
lib32-libxi 1.4.1-1
lib32-libxinerama 1.1.1-1
lib32-libxml2 2.7.8-1
lib32-libxrandr 1.3.1-1
lib32-libxrender 0.9.6-4
lib32-libxt 1.1.1-1
lib32-libxtst 1.2.0-1
lib32-libxxf86vm 1.1.1-1
lib32-mesa 7.11-4
lib32-ncurses 5.9-1
lib32-openal-git 20111110-1
lib32-openssl 1.0.0.e-2
lib32-orbit2 2.14.19-3
lib32-pam 1.1.4-2
lib32-pango 1.29.4-1
lib32-pcre 8.20-1
lib32-pixman 0.20.2-1
lib32-polkit 0.102-1
lib32-readline 6.2.001-1
lib32-sdl 1.2.14-8
lib32-udev 174-1
lib32-util-linux 2.19-1
lib32-xcb-util 0.3.6-3
lib32-zlib 1.2.5-6

I hope that helps.


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#24 2015-05-12 21:06:34

Stijn147
Member
Registered: 2015-05-12
Posts: 1

Re: Installing 32-bit libraries

this solved my problem:

$sudo apt-get install libglu1-mesa:i386

Offline

#25 2015-05-12 22:52:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Installing 32-bit libraries

Stijn, please review a forums guidelines before posting randomly.  This post has no business here for several reasons:
1) this thread is nearly 5 years old.
2) you bumped it with an empty post.
3) your solution has nothing to do with archlinux, and
4) if it worked you are not using archlinux.

All of these and more are in our forum ettiquette

Closed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB