Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 30 - Missing libSDL_image-1.2.so.0 #67

Open
Nolski opened this issue Sep 5, 2019 · 4 comments

Comments

@Nolski
Copy link

commented Sep 5, 2019

Hi all,

I'm trying to run DF LNP on fedora and I'm getting the following error when starting DF.

INFO: Read installed graphics (Phoebus) from log
[distro_fixes] [INFO] Checking whether any distro specific fixes are required...
[distro_fixes] [INFO] OS: fedora
[distro_fixes] [INFO] ARCH: x86_64
[distro_fixes] [INFO] VER: 30
[distro_fixes] [INFO] DF_ARCH: 64-bit
[distro_fixes] [INFO] DF_BIN_LOCATION: /home/nolski/Downloads/LinuxLNP-0.44.12-r03/df_linux/libs/Dwarf_Fortress
[distro_fixes] [WARN] 64bit 'Dwarf_Fortress' on unhandled 64bit OS detected. If you get 'missing file' errors, please open an issue on Github: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues.
[distro_fixes] [INFO] Attempting to use zlib at /usr/lib/libz.so.1
[distro_fixes] [INFO] PRELOAD_LIB: /usr/lib/libz.so.1:./libs/set_ptracer_any.so
[distro_fixes] [INFO] LD_LIBRARY_PATH: 
[distro_fixes] [INFO] Done
ERROR: ld.so: object '/usr/lib/libz.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory

@lethosor

This comment has been minimized.

Copy link
Member

commented Sep 5, 2019

Did you install SDL_image? yum install SDL_image should do it. Take a look at https://dwarffortresswiki.org/index.php/DF2014:Installation#Fedora as well for any other packages you might need (ignore the dwarffortress package if you're using a LNP).

@Nolski

This comment has been minimized.

Copy link
Author

commented Sep 5, 2019

Hey @lethosor, thanks for the quick response.

Yeah, I've installed the following packaged according to the README but unfortunately still have the above error.

$ yum install SDL SDL_image SDL_ttf mesa-libGLU gtk2 zlib openal-soft xterm python qt qt-x11 bzip2 xorg-x11-fonts-Type1
@lethosor

This comment has been minimized.

Copy link
Member

commented Sep 5, 2019

Ok, it looks like the distro-fixes script is also picking up a 32-bit zlib. Can you try commenting out

. "./distro_fixes.sh"
in the df script (add a # in front)?

@Nolski

This comment has been minimized.

Copy link
Author

commented Sep 10, 2019

Apologies! It looks like I had an incorrect (old) version installed. I've downloaded the most current version via the link listed in the repository. The above error no longer shows when trying to start DF.

...However, when running the application now, when I launch DF (via the NLP window), a window quickly opens and then closes. Nothing shows in the console other than

nohup: ignoring input and appending output to 'nohup.out'

This may be worth opening another issue as this doesn't really seem related to the title any more so if you'd like please let me know and I'll open a new one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.