V
V
verlouren2020-03-21 00:59:29
linux
verlouren, 2020-03-21 00:59:29

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


This file is present in the folder. In the run.sh file, the path to this file is not written in advance, but is written like this:
#!/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


Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Official account of the Timeweb team, 2020-08-07
@timeweb_team

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 question

Ask a Question

731 491 924 answers to any question