I am trying to set LibreSign up on Nextcloud, which should install itself out-of-the-box. I cannot, however, install the ghostscript or imagick binaries such that LibreSign finds that they exist. The message that I get reads:
Is necessary install ghostscript in your operational system to make possible Imagick read PDF files. This feature will be used only if you need to add visible signatures in your PDF files using the web interface.
I have executed yum install ghostscript. Ghostscript is downloaded, as is Imagick.
Has anyone encountered and resolved this problem? It may be that a PHP issue is cropping up.
If you like to get rid of the error message, you could edit the code in /usr/share/nextcloud/apps/libresign/lib/Service/ConfigureCheckService.php at line 67 and just remove the “!” to get
if (shell_exec(sprintf("which %s", escapeshellarg('ghostscript')))) {
but the next libresign app update may overwrite it.
The app does electronically sign documents and verifies that they are signed by the parties.
LibreSign does not, however, provide an option for placing a visible signature on the PDF. That’s what I need GhostScript to do. It doesn’t seem to be doing it with this error message.