My custom doesn't work

I built vcmi from source and it installed some libs in /usr/local/lib64/vcmi

I created vcmi.conf in /etc/ with the path.

$ cat /etc/ 

After rebooting the system I tried run the vcmi client but I’m still getting library error.

$ vcmiclient 
vcmiclient: error while loading shared libraries: cannot open shared object file: No such file or directory

When I try to include the library path it works.

$ LD_LIBRARY_PATH=/usr/local/lib64/vcmi vcmiclient

So there has to be something wrong with the but I have no idea how to investigate further.

I made no changes to /etc/

$ cat /etc/
1 Like
# Fix SELinux labels
sudo restorecon -R /etc/*

# Update cache
sudo ldconfig

# Check cached libs
ldconfig -p | grep -e
ls -l /usr/local/lib64/vcmi/*