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

Df and LNP on Arch missing files #36

Open
kirill-dev-pro opened this issue Apr 14, 2016 · 11 comments
Open

Df and LNP on Arch missing files #36

kirill-dev-pro opened this issue Apr 14, 2016 · 11 comments

Comments

@kirill-dev-pro
Copy link

λ Nout df_linux → ./df 
[distro_fixes] INFO Checking whether any ARCH/distro specific fixes are required...
[distro_fixes] INFO OS: Linux
[distro_fixes] INFO ARCH: x86_64
[distro_fixes] INFO VER: 4.4.5-1-ARCH
[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 Linux/64bit detected
[distro_fixes] WARN 32bit '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 Done
./df: line 11: ./libs/Dwarf_Fortress: Нет такого файла или каталога

Last line is "no such file or directory"

λ Nout 04024r3-x64 → ./startlnp 
Значение не установлено для «/desktop/gnome/applications/terminal/exec»
Значение не установлено для «/desktop/gnome/applications/terminal/exec_arg»
xdg-terminal: configured terminal program '' not found or not executable

First 2 lines is something like "no value for"

@lethosor
Copy link
Member

@kirill-dev-pro
Copy link
Author

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

@lethosor
Copy link
Member

Do you have a 32-bit zlib installed (e.g. zlib:i386 on some distros)?

@kirill-dev-pro
Copy link
Author

Yes, I have zlib installed

@lethosor
Copy link
Member

Do you have a 32-bit zlib installed? If you're on 64-bit Linux, /usr/lib/libz.so is probably 64-bit.

@kirill-dev-pro
Copy link
Author

Not sure about that.
pacman -Ss zlib:i386
show nothing
How to look this information?

@lethosor
Copy link
Member

Try lib32-zlib

@kirill-dev-pro
Copy link
Author

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

@lethosor
Copy link
Member

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.

@kirill-dev-pro
Copy link
Author

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?

@lethosor
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants