# Help me to make running it on Linux, please

**URL:** https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146
**Category:** The Garage
**Created:** [March 15, 2015, 6:40pm UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146 "2015-03-15T18:40:20Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Namal](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Namal](https://discourse.cataclysmdda.org/u/Namal)
#### Post date: [March 15, 2015, 6:40pm UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/1 "2015-03-15T18:40:20Z")

</div>

Hello, since I hang up most of the time on my linux installation I wanted to have to have DDA here too. I don’t want the github clone because (I assume ) it is the tile version, but I 'd like to have the console version. I tried to download it and run bh cataclysm-launcher and just ./launcher and I always get the error

> error while loading shared libraries: liblua5.2.so.0: cannot open shared object file: No such file or directory

no matter what I do. I tried several libraries now.

This is my system

Linux xu64 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015 x86\_64 x86\_64 x86\_64 GNU/Linux

Please help.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [March 15, 2015, 11:43pm UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/2 "2015-03-15T23:43:58Z")

</div>

One, the launcher is really there for mac users, on linux ./cataclysm from the cataclysm directory should do it.  
This doesn’t have anything to do with your problem, just a FYI.

Two, take a look at your /usr/lib directory, the lua library might just be named differently. If you have something along the lines of [liblua-5.2.so](http://liblua-5.2.so) in there, do:

```auto
cd /usr/lib
sudo ln -s liblua-5.2.so liblua5.2.so.0
```

What this does is create a symbolic link from the file the game is expecting (liblua5.2.so.0) to the file that exists on your system so that the game can find it.

---

<div class="post-metadata">

### Author: ![Namal](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Namal](https://discourse.cataclysmdda.org/u/Namal)
#### Post date: [March 16, 2015, 2:12am UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/3 "2015-03-16T02:12:29Z")

</div>

didn’t help, I still have same error

---

<div class="post-metadata">

### Author: ![Namal](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Namal](https://discourse.cataclysmdda.org/u/Namal)
#### Post date: [March 17, 2015, 8:29am UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/4 "2015-03-17T08:29:38Z")

</div>

Hello, now I did a search for that file and it is in

/usr/lib/x86\_64-linux-gnu/liblua5.2.so.0

so it is definetelly there, but game still won’t start, any help?

---

<div class="post-metadata">

### Author: ![burgerpro](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@burgerpro](https://discourse.cataclysmdda.org/u/burgerpro)
#### Post date: [March 21, 2015, 8:07am UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/5 "2015-03-21T08:07:54Z")

</div>

I second this. Came there to create a similar thread. Liblua 5.2 installed, x86\_64. I remember there was a similar issue several versions ago but it was related to some not having 64 bit version. I have it.

Interesting note: after creating a symbolic link /usr/lib/liblua5.2.so.0 to /usr/lib/x86\_64-linux-gnu/liblua5.2.so.0 the error message changes to:

```auto

```

Does it mean I have to install a second x32 version of liblua5.2 ?

Edit:  
I did

```auto

```

, and cataclysm started working. But could you please make it use the normal x86\_64 libraries? It shouldn’t be hard, at least 0.B used to work pretty well on x86\_64 version of the liblua.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [March 21, 2015, 8:14am UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/6 "2015-03-21T08:14:15Z")

</div>

Ah, yes it looks like a 32 vs 64 bit thing, you either need 32 bit liblua, or install the 64 bit version from [http://ci.narc.ro/job/Cataclysm-Matrix/Graphics=Curses,Platform=Linux\_x64/lastBuild/](http://ci.narc.ro/job/Cataclysm-Matrix/Graphics=Curses,Platform=Linux_x64/lastBuild/)  
or build yourself in 64-bit. I’ll take a look at releasing a 64 bit version in the future.

---

<div class="post-metadata">

### Author: ![burgerpro](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@burgerpro](https://discourse.cataclysmdda.org/u/burgerpro)
#### Post date: [March 21, 2015, 9:12am UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/7 "2015-03-21T09:12:37Z")

</div>

Ok to sum it up, you can do it in two ways:

1)Either do

```auto

```

on .deb based distros: Ubuntu/Mint/Debian

```auto

```

on .rpm based ones: Red Hat/Fedora/CentOS

or anything that will install i386 version of liblua5.2

2)Or go to [here](http://dev.narc.ro/cataclysm/jenkins-latest/Linux_x64/Curses/) and get the latest tarball.

Maybe its just me being dumb but I cannot figure out how to download the archive from Kevin’s link.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [March 21, 2015, 2:59pm UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/8 "2015-03-21T14:59:13Z")

</div>

Crap, sorry, I gave you a bad link, I forgot narc moved the downloads to a different server, it was causing problems because of some combination of the jenkins server having too much load from downloads and having its filesystem fill up with all the builds.

---

<div class="post-metadata">

### Author: ![Namal](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Namal](https://discourse.cataclysmdda.org/u/Namal)
#### Post date: [March 30, 2015, 7:30am UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/9 "2015-03-30T07:30:09Z")

</div>

[quote author=burgerpro link=topic=9818.msg227663#msg227663 date=1426929157]  
Ok to sum it up, you can do it in two ways:

1)Either do

```auto

```

on .deb based distros: Ubuntu/Mint/Debian

yeah, I tried that and now I get another error.

```auto

```

---

<div class="post-metadata">

### Author: ![jcd](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jcd/32/338_2.png) [@jcd](https://discourse.cataclysmdda.org/u/jcd)
#### Post date: [March 31, 2015, 9:57am UTC](https://discourse.cataclysmdda.org/t/help-me-to-make-running-it-on-linux-please/9146/10 "2015-03-31T09:57:01Z")

</div>

i would suggest compiling it yourself.  
it will only take ~30 mins in a reasonably old machine (mine takes 20’ and is 5+ yrs old), and is as simple as running:

```auto

```

or

```auto

```

or whatever else you need, from within the top source directory.
