Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Made sure that imagemagick is installed and updated in Linux Mint 21 but I get this error:  blasted: error while loading shared libraries: libMagick++-7.Q16HDRI.so.5: cannot open shared object file: No such file or directory.  Doesn't sound like a bug but probably a Linux newbie gotcha.  Thought I'd bring it up in case there's an easy solution for begginers.

(+1)

Thanks. Where is the libMagick++*.so installed to on your system and is it it part of your library path (LD_LIBRARY_PATH?) If I recall correctly I compiled IM++ from source and installed it to '/usr/local/lib'

I'll set up a VM at the weekend and see how it goes from a fresh install. Hopefully, that'll iron some of the kinks out.

Looks like /lib/x86_64-linux-gnu.  Not sure what LD_LIBRARY_PATH is.  

WSL?

LD_LIBRARY_PATH is an environment variable that tells the OS where it can find linked libraries. One solution would be to create a symlink from the current file to where the app expects it to be:

#: ln -s /lib/x86_64-linux-gnu/libMagick++-7.Q16HDRI.so.5 /usr/local/lib/libMagick++-7.Q16HDRI.so.5

'/usr/local/lib' might not exist so another solution would be to export '/lib/x86_64-linux-gnu' to the environment with:

$: export LD_LIBRARY_PATH="/lib/x86_64-linux-gnu"

tbh I don't know what would be best for you in this instance, as I have to confess that I am not familiar with how Ubuntu structures its data. If you try either of those methods and nothing works I will post the next Windows build tomorrow (29/07/22.) It is relatively stable now that I have sorted a few of the spooky bugs (really weird one involving co-ordinates when selecting tiles.)


[# - indicates as root]
[$ - indicates as user]
(+1)

Hello,

So, on further investigation what worked for me was installing ImageMagick++-7 from source [https://imagemagick.org/script/install-source.php] . If you do not want to go through the trouble I am going to look into creating an AppImage for future releases. However, the Windows build is much, much more stable now.  So, that is also an option.

Thanks again,

David