Posted February 20, 2021
kagamar: Version 3.3.4.1 on Ubuntu 20.04 works after next steps:
[...]
2) Create symlink to the system "libsndio" file:
sudo ln -s /usr/lib/x86_64-linux-gnu/libsndio.so.7.0 "/home/user/GOG Games/ADOM Ancient Domains Of Mystery English/game/lib64/libsndio.so.6.1"
3) Download packages "libnettle6_3.4-1_amd64.deb" and "libhogweed4_3.4-1_amd64.deb" from Ubuntu 18.04:
packages.ubuntu.com/bionic/amd64/libnettle6/download
packages.ubuntu.com/bionic/amd64/libhogweed4/download
and extract files libnettle.so.6, libnettle.so.6.4, libhogweed.so.4, libhogweed.so.4.4 to the game library path:
"/home/user/GOG Games/ADOM Ancient Domains Of Mystery English/game/lib64/"
For reasons unknown I didn't need to do the 2nd step. For the third step you can also simply copy the libs into /lib or the specific subfolder for your architecture. Worked for me... [...]
2) Create symlink to the system "libsndio" file:
sudo ln -s /usr/lib/x86_64-linux-gnu/libsndio.so.7.0 "/home/user/GOG Games/ADOM Ancient Domains Of Mystery English/game/lib64/libsndio.so.6.1"
3) Download packages "libnettle6_3.4-1_amd64.deb" and "libhogweed4_3.4-1_amd64.deb" from Ubuntu 18.04:
packages.ubuntu.com/bionic/amd64/libnettle6/download
packages.ubuntu.com/bionic/amd64/libhogweed4/download
and extract files libnettle.so.6, libnettle.so.6.4, libhogweed.so.4, libhogweed.so.4.4 to the game library path:
"/home/user/GOG Games/ADOM Ancient Domains Of Mystery English/game/lib64/"
jorlin: [...]
Another thing that's important is to put a colon ':' between the paths you are referencing as LD_LIBRARY_PATH:
Like so:
LD_LIBRARY_PATH=./lib64/:./adom64
The last line of the run_game procedure will have to be changed from:
./"adom64"
to
LD_LIBRARY_PATH="./lib64/:./adom64" ./"adom64"
in order for the workaround to work.
I have tested this on my Ubuntu 20.04.2 LTS installation and I could start ADOM without installing the 18.04 libnettle and libhogweed libraries.
The ones included with 20.04 worked just fine.
That's another way to work around the problem. On my box I didn't need to add the :./adom64 to LD_LIBRARY_PATH though. Another thing that's important is to put a colon ':' between the paths you are referencing as LD_LIBRARY_PATH:
Like so:
LD_LIBRARY_PATH=./lib64/:./adom64
The last line of the run_game procedure will have to be changed from:
./"adom64"
to
LD_LIBRARY_PATH="./lib64/:./adom64" ./"adom64"
in order for the workaround to work.
I have tested this on my Ubuntu 20.04.2 LTS installation and I could start ADOM without installing the 18.04 libnettle and libhogweed libraries.
The ones included with 20.04 worked just fine.
Ubuntu 18.04 is also a LTS release.
Post edited February 20, 2021 by dTerminist