Thanks a lot.
I see that the library causing the crash seems to be png.so, so I tried to point both MAGICK_CODER_FILTER_PATH and MAGICK_CODER_MODULE_PATH to the directory containing this file.
Unfortunately I must be doing something wrong, since the error is still there.
Code:
$ find /usr/local/calibre/ -name png.so
/usr/local/calibre/calibre/lib/ImageMagick/modules-Q16/coders/png.so
$ echo $MAGICK_CODER_FILTER_PATH
/usr/local/calibre/calibre/lib/ImageMagick/modules-Q16/filters/:/usr/local/calibre/calibre/lib/ImageMagick/modules-Q16/coders/
$ echo $MAGICK_CODER_MODULE_PATH
/usr/local/calibre/calibre/lib/ImageMagick/modules-Q16/filters/:/usr/local/calibre/calibre/lib/ImageMagick/modules-Q16/coders/
I am not an ImageMagick expert, and this binary installation seems to be as hard as the ebuild...maybe I should try to go back to the ebuild and see if I can get that to work.
Thanks for any suggestion.