[solved] GOG Version does not run on Arch Linux
issueid=6704 05-01-2021 04:11 PM
Junior Member
Number of reported issues by Moxon: 1
[solved] GOG Version does not run on Arch Linux
Install Ubuntu 20.04 LTS + some libraries in a virtual machine and play there

Hi Developers,

I recently bought ADOM on gog.com but get an error on my Arch Linux:

Code:
./start.sh 
Running ADOM (Ancient Domains Of Mystery) (English)
./adom64: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Although I can install a ncurses compat layer, other libraries (libsndio, hogweed, ...) are needed and I ended up with a missing
Code:
libjbig.so.0: cannot open shared object file: No such file or directory
. I have no idea where to get this one ...

Any ideas how to get it running? Is there an updated version planned which is based on more up to date libraries?

Regards
Moxon
Issue Details
Issue Number 6704
Project ADOM (Ancient Domains Of Mystery)
Category Linux
Status Unconfirmed
Priority 5 - Medium
Affected Version ADOM 3.3.4
Fixed Version (none)
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




05-04-2021 03:02 PM

05-04-2021 05:28 PM
Junior Member
So this is how it looks without any modifications after a fresh install of ADOM:

Code:
$ cd ~/"GOG Games/ADOM Ancient Domains Of Mystery"
$ ./start.sh 
Running ADOM (Ancient Domains Of Mystery) (English)
./adom64: error while loading shared libraries: libSDL2_mixer-2.0.so.0: cannot open shared object file: No such file or directory
Thus I

Code:
$ export LD_LIBRARY_PATH=./lib64
and installed these packages from AUR:

  • ncurses5-compat-libs
  • libsndio-61-compat
  • nettle6
  • libjbig-shared


Still no success:

Code:
$ ./start.sh 
Running ADOM (Ancient Domains Of Mystery) (English)
./adom64: /usr/lib/libncurses.so.5: version `NCURSES_5.0.19991023' not found (required by ./lib64/libnoteye.so)
./adom64: /usr/lib/liblber-2.4.so.2: no version information available (required by ./lib64/libcurl.so.4)
./adom64: /usr/lib/libldap_r-2.4.so.2: no version information available (required by ./lib64/libcurl.so.4)

05-28-2021 10:53 PM
Junior Member
What's the output of this
Code:
ldconfig -p
and
Code:
ldd adom64
https://bbs.archlinux.org/viewtopic.php?id=203039

06-01-2021 10:30 PM
Junior Member

06-05-2021 06:04 PM
Junior Member
Your installation went wrong, you have to fix
* libSDL2_mixer-2.0.so.0 => not found
* libncurses.so.5 => not found
* libtinfo.so.5 => not found
* libsndio.so.6.1 => not found
better ask bbs.archlinux.org

06-08-2021 08:08 AM
Junior Member
Quote Originally Posted by polluks
Your installation went wrong, you have to fix
* libSDL2_mixer-2.0.so.0 => not found
* libncurses.so.5 => not found
* libtinfo.so.5 => not found
* libsndio.so.6.1 => not found
better ask bbs.archlinux.org
I am not sure it really did. I repeated it. Compared to the last free version - for which arch linux has an install instruction script - it appears to be the same (folder structure and folder content compared).

It just won't start at all. Even when telling it to use the libraries from the last free version: no start.

Link to my question at bbs.archlinux.org

06-12-2021 10:38 PM
Junior Member
At least "export LD_LIBRARY_PATH=./lib64" is strange, you should append the new path.
See also https://stackoverflow.com/a/37558191/1430535

What about "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/adom/lib/:/lib64/"?

06-27-2021 03:41 PM
Junior Member
Quote Originally Posted by polluks
At least "export LD_LIBRARY_PATH=./lib64" is strange, you should append the new path.
See also https://stackoverflow.com/a/37558191/1430535

What about "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/adom/lib/:/lib64/"?
Good idea! But unfortunately this didn't work either ...

06-27-2021 03:42 PM
Junior Member
Crosspost from Arch Linux BBS:

So I officially give up running it directly. The gog version of ADOM is linked against Ubuntu 18.04 LTS as stated in this thread in the ADOM gog.com forum.

So I got down to install Ubuntu 20.04 LTS and adding some libraries from Ubuntu 18.04, notably:

libhogweed4_3.4.1-0ubuntu0.18.04.1_amd64.deb
libnettle6_3.4.1-0ubuntu0.18.04.1_amd64.deb
libsndio6.1_1.1.0-3_amd64.deb

and this works, including sound!

+ Reply