You are not logged in.

#1 2010-05-17 03:12:23

DWilliams
Member
From: Everywhere
Registered: 2009-11-22
Posts: 119

Trying to run Dwarf Fortress on Arch64

I got it to run by installing a bunch of lib32 packages. It runs fine in text mode but crashes in graphical mode with the following errors:

(dwarfort.exe:30070): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
Gtk-Message: Failed to load module "gnomebreakpad": /usr/lib/gtk-2.0/modules/libgnomebreakpad.so: wrong ELF class: ELFCLASS64
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64

Now, every time I got errors like this before I corrected it by installing the corresponding lib32 package. The main problem here appears to be libclearlooks, but I can't find a lib32 version of it to install. The closest thing I could find was lib32-gtk-aurora-engine in the AUR so I installed it but it didn't fix the problem.

What do I need to install to play Dwarf Fortress?

Offline

#2 2010-05-17 03:59:49

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Trying to run Dwarf Fortress on Arch64

libclearlooks.so is owned by gtk-engines. the AUR has a lib32-gtk-engines.

You might be interested in community/pkgtools which can tell you if a package in the official repos owns a file, even if its not installed locally.

Offline

#3 2010-05-17 06:47:23

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Trying to run Dwarf Fortress on Arch64

The arch-games repo has bin32-dwarffortress. Saves you the effort smile

Offline

#4 2010-05-17 08:46:27

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Trying to run Dwarf Fortress on Arch64

Easiest way to get DF running nicely is to use a chroot. Specially since it from time to time requires older versions of libs than what arch has in the repos too.

Urist Mc.Dorf cancels chroot: Interrupted by Sig 11

Last edited by Mr.Elendig (2010-05-17 08:47:39)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2010-05-17 22:43:39

DWilliams
Member
From: Everywhere
Registered: 2009-11-22
Posts: 119

Re: Trying to run Dwarf Fortress on Arch64

Runiq wrote:

The arch-games repo has bin32-dwarffortress. Saves you the effort smile

This seems like the most simple way but bin32-dwarffortress apparently has not been updated to DF2010 yet =/

Offline

#6 2010-05-17 23:14:02

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Trying to run Dwarf Fortress on Arch64

It's on my todo list.

Offline

#7 2010-05-17 23:38:42

DWilliams
Member
From: Everywhere
Registered: 2009-11-22
Posts: 119

Re: Trying to run Dwarf Fortress on Arch64

Daenyth wrote:

It's on my todo list.

<3

Offline

#8 2010-05-19 00:49:01

DWilliams
Member
From: Everywhere
Registered: 2009-11-22
Posts: 119

Re: Trying to run Dwarf Fortress on Arch64

Until bin32-dwarffortress is updated, does anyone know how to make it run? I installed lib32-gtk-engines from the AUR as suggested but nothing appears to have changed.

Offline

#9 2010-05-19 07:30:06

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Trying to run Dwarf Fortress on Arch64

As Mr. Elendig said, setting up a chroot is probably your best bet. No more fiddling with lib32 libraries, and probably more stable.

Offline

#10 2010-05-19 07:59:39

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Trying to run Dwarf Fortress on Arch64

Thank you this thread, Never heard of DF until now, spent all yesterday playing it, it is so cool.

The tutorial specifies a certain world to follow available to download, altho it is for an older version, so I am running this in wine.  Don't know if anyone knows how to import the tutorial world into the linux version.

Offline

#11 2010-05-19 13:45:30

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Trying to run Dwarf Fortress on Arch64

gazj wrote:

Thank you this thread, Never heard of DF until now, spent all yesterday playing it, it is so cool.

The tutorial specifies a certain world to follow available to download, altho it is for an older version, so I am running this in wine.  Don't know if anyone knows how to import the tutorial world into the linux version.

IMO forget about the tutorial.
My suggestion is to grab 40d19 and just play it(tm). It doesn't take long to get into it, specially if you keep the df wiki open in your browser as you play.

And why 40d19 instead of 0.31.4 you ask?

Because it's somewhat less complex, and 0.31.x is atm full of !!FUN!! issues that might put off a new player.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#12 2010-06-13 11:47:33

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Trying to run Dwarf Fortress on Arch64

DWilliams wrote:

Until bin32-dwarffortress is updated, does anyone know how to make it run? I installed lib32-gtk-engines from the AUR as suggested but nothing appears to have changed.

I ran into the same thing today. Solved it by uninstaling dwarffortress, completely deleting the /opt/df_linux folder (caution this will remove savegames), then reinstalling.

By the way, diffs against the dwarffortress package for 64bit support are at http://pastebin.org/327652.
(And a bit of self promotion - an updated version of dwarf therapist is at http://aur.archlinux.org/packages.php?ID=38062 . A friend of mine who is totally into df swears by it smile Unfortunately it doesn't support 0.31.6 yet, only 0.31.5. )

Edit: dwarftherapist-hg now supports 0.31.06

Last edited by schuay (2010-06-13 14:56:21)

Offline

#13 2010-06-13 18:27:33

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Trying to run Dwarf Fortress on Arch64

Just a little self promote, those who prefer Mike Maydays graphical version of the game.

http://aur.archlinux.org/packages.php?ID=38076

Offline

Board footer

Powered by FluxBB