Open kirill-dev-pro opened 8 years ago
Try replacing distro_fixes.sh with https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/blob/master/pack/df_linux/distro_fixes.sh
Well, now I got this output
λ Nout df_linux → ./df
[distro_fixes] [INFO] Checking whether any distro specific fixes are required...
[distro_fixes] [INFO] OS: arch
[distro_fixes] [INFO] ARCH: x86_64
[distro_fixes] [INFO] VER:
[distro_fixes] [INFO] DF_ARCH: 32-bit
[distro_fixes] [INFO] DF_BIN_LOCATION: /home/kirill/Downloads/04024r3-x64/df_linux/libs/Dwarf_Fortress
[distro_fixes] [INFO] 32 bit df on arch/64bit detected
[distro_fixes] [WARN] Could not find /usr/lib32/libstdc++.so.6
[distro_fixes] [INFO] Attempting to use zlib at /usr/lib/libz.so
[distro_fixes] [INFO] PRELOAD_LIB: /usr/lib/libz.so
[distro_fixes] [INFO] LD_LIBRARY_PATH:
[distro_fixes] [INFO] Done
./df: line 11: ./libs/Dwarf_Fortress: Нет такого файла или каталога
Still no such file or directory
Do you have a 32-bit zlib installed (e.g. zlib:i386 on some distros)?
Yes, I have zlib installed
Do you have a 32-bit zlib installed? If you're on 64-bit Linux, /usr/lib/libz.so is probably 64-bit.
Not sure about that. pacman -Ss zlib:i386 show nothing How to look this information?
Try lib32-zlib
There is no such library.
pacman -Ss lib32-zlib
and
yaourt lib32-zlib
show nothing. But i found this: https://aur.archlinux.org/packages/libx32-zlib/ Unfortunately i couldnt be instaled becouse of missing dependings
What about https://www.archlinux.org/packages/multilib/x86_64/lib32-zlib/? You are on 64-bit arch, right? Maybe you have to add the multilib repository somehow.
Yep, you were right, the problem was in multilib. When i set my arch up, i uncomment only one line for multillib in /etc/pacman.conf
and the other line was commented (#[multilib]
). So I uncomment it, run sudo pacman -Suy
and then install x32 zlib and all other missing x32 libraris such as lib-sdl, lib-gtk, openall, etc.. All of it told me game itself, all but the first case about missing something in ./libs. That was not obviously.
So thanks for help, lethosor. Maybe this case is to keep a reference to it on LNP forum page as was the case for ubuntu?
Yeah, I'm not really sure what the "file not found" error means, but the filename in it is definitely not the file that's missing.
Last line is "no such file or directory"
First 2 lines is something like "no value for"