Answer the question
In order to leave comments, you need to log in
What should I do if the program does not start due to the absence of a file that is present in the folder?
I downloaded the native Linux toy Northgard from a well-known site. After going through the self-made installer, when you try to start the game from the shortcut, nothing happens. If you try to run the game through the run.sh file in the folder with all files, it gives an error
src/module.c(352) : FATAL ERROR : Failed to load library fmt.hdll
#!/usr/bin/env bash
export LC_ALL=C
# Move to the game directory
cd "$(dirname "$(realpath "$0")")" || exit
# Run the game
exec ./hl sdlboot.dat
Answer the question
In order to leave comments, you need to log in
In the code fragment you provided, there is no access to the hdll file. Here you should check the access permissions and the owner of the files specified in the file attributes. Executable binaries need x-permissions to execute them. Loaded library files require at least r-permissions if they are not executed, but only loaded as part of other elements. The strace console utility can help extract more details about why the hdll file cannot be loaded.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question