I am attempting to install GraphicsMagick in a hosting account...
I used this info to get it to work in most cases:
How do you specify the location of libraries to a binary? (linux)
However, it still cannot find the delegates.mgk (which is in ./lib/GraphicsMagick-1.3.14/delegates.mgk) as witnessed in this error:
gm-bin convert: Unable to access configuration file (delegates.mgk) [No such file or directory].
Either, a) how do find out where the binary thinks this file should be, or b) how do I extend the wrapper script to help it out?
MAGICK_CONFIGURE_PATH, noticeCONFIGvsCONFIGURE. I installed GraphicsMagick with Nix package manager and it fails to start. Just defining this env var as you pointed made it work. I used the following:[[ $(command -v gm) =~ ".nix" ]] && export MAGICK_CONFIGURE_PATH="$(dirname $(command -v gm))/../lib/GraphicsMagick-$(gm -version | head -n1 | cut -d ' ' -f2)/config". DISCLAIMER: It work but I didn't heavy tested it. – Gerard Bosch Nov 23 '21 at 12:02