You are not logged in.

#1 2024-09-23 13:24:00

vvbudh
Member
Registered: 2023-04-29
Posts: 12

[Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

Hey all, never post here because I don't feel safe on the forums asking for help. Please don't swear at me.

I've just downloaded Cataclysm DDA from their releases page on their git. https://github.com/CleverRaven/Cataclys … es/tag/0.G (cdda-linux-tiles-sounds-x64-2023-03-01-0054.tar.gz)

After untaring it and trying to run it, I receive,

 
[vvbudh@Bannerlord2 cataclysmdda-0.F]$ ./cataclysm-tiles 
./cataclysm-tiles: error while loading shared libraries: libSDL2_mixer-2.0.so.0: cannot open shared object file: No such file or directory

So I go, ok, need this package to run the game. I update and upgrade the system with Pacman -Syu, reboot, then,

[root@Bannerlord2 cataclysmdda-0.F]# pacman -Syu libSDL2_mixer-2.0.so.0
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: target not found: libSDL2_mixer-2.0.so.0

It's similar to this issue on their Github, but that's Ubuntu, not Arch so wanted to ask here for help.
https://github.com/CleverRaven/Cataclys … sues/30931

Thanks in advance, what information or actions do you need from me?

Last edited by vvbudh (2024-09-24 17:13:05)


Exhale, inhale. How is your breathing?

Offline

#2 2024-09-23 13:27:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

See pacman -F. -S requires a package, not some random file.

Edit: and unrelated, but merge your .pacnew files. The community repo hasn't existed for well over a year.

Last edited by Scimmia (2024-09-23 13:28:21)

Offline

#3 2024-09-23 13:30:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,399
Website

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2024-09-23 14:24:24

vvbudh
Member
Registered: 2023-04-29
Posts: 12

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

Thanks for your reply @Scimmia. I've reviewed merged my pacnew files https://wiki.archlinux.org/title/Pacman … nd_Pacsave

I skimmed the man page of pacman, downloaded the databases for files,

 
root@Bannerlord2 pam.d]# pacman -F libSDL2_mixer-2.0.so.0
extra/sdl2_mixer 2.8.0-1
    usr/lib/libSDL2_mixer-2.0.so.0

[root@Bannerlord2 pam.d]# pacman -Syu sdl2_mixer
:: Synchronizing package databases...
 core is up to date
 extra is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) sdl2_mixer-2.8.0-1

Total Download Size:   0.11 MiB
Total Installed Size:  0.30 MiB

:: Proceed with installation? [Y/n] y

Installed sdl2_mixer


[vvbudh@Bannerlord2 cataclysmdda-0.F]$ ./cataclysm-launcher 
./cataclysm-tiles: error while loading shared libraries: libSDL2_mixer-2.0.so.0: cannot open shared object file: No such file or directory

So, I have the correct package, but I don't understand why it doesn't see the correct,,, Library link? I'm not sure what I should do next. Appreciate more input.


Exhale, inhale. How is your breathing?

Offline

#5 2024-09-23 14:30:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

what does `file cataclysm-tiles` show? If it's a 32 bit program, you'll need to get the lib32 version from multilib.

Offline

#6 2024-09-23 14:41:59

vvbudh
Member
Registered: 2023-04-29
Posts: 12

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

[vvbudh@Bannerlord2 cataclysmdda-0.F]$ file cataclysm-tiles 
cataclysm-tiles: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=ccc4b135896ed46a8a0501884a8a70588e1ee704, stripped
 

Exhale, inhale. How is your breathing?

Offline

#7 2024-09-23 16:15:20

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

Please post the output of lddtree cataclysm-tiles .
(install pax-utils if needed)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2024-09-23 16:30:50

vvbudh
Member
Registered: 2023-04-29
Posts: 12

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

[vvbudh@Bannerlord2 cataclysmdda-0.F]$ lddtree cataclysm-tiles
cataclysm-tiles (interpreter => /lib64/ld-linux-x86-64.so.2)
    libSDL2_mixer-2.0.so.0 => /usr/lib/libSDL2_mixer-2.0.so.0
    libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0
    libpthread.so.0 => /usr/lib/libpthread.so.0
    libSDL2_ttf-2.0.so.0 => None
    libSDL2_image-2.0.so.0 => None
    libz.so.1 => /usr/lib/libz.so.1
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libm.so.6 => /usr/lib/libm.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6

Exhale, inhale. How is your breathing?

Offline

#9 2024-09-23 19:06:19

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

    libSDL2_ttf-2.0.so.0 => None
    libSDL2_image-2.0.so.0 => None

install sdl2_ttf & sdl2_image , then try again .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2024-09-23 19:37:28

vvbudh
Member
Registered: 2023-04-29
Posts: 12

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

Well there ya' go. It's working now.

Assuming I understand correctly, lddtree shows the missing libraries or files I needed in order to get that program working.

Thanks for both of your help Lone_Wolf, and Scimmia! This went much better than the last time I was here. Thanks again.


Exhale, inhale. How is your breathing?

Offline

#11 2024-09-24 10:16:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

It shows the librairies the program links to and where they are found.
This often helps to determine missing dependencies or confirm if a program uses its own version instead of systemwide.

If you're satisfied with the outcome, please prepend [Solved] to the thread title (edit first post) .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#12 2024-09-24 17:12:34

vvbudh
Member
Registered: 2023-04-29
Posts: 12

Re: [Solved] CataclysmDDA missing libSDL2_mixer-2.0.so.0

Thanks again! And Lone_Wolf, it would have already been done, if I knew how to do that! Thanks!

Last edited by vvbudh (2024-09-24 17:13:20)


Exhale, inhale. How is your breathing?

Offline

Board footer

Powered by FluxBB