NickNaso / ghostscript4js

Ghostscript4JS binds the Ghostscript C API to the Node.JS world.
http://www.nacios.it
Apache License 2.0
68 stars 19 forks source link

Upgrade to ghostscript version 10 #70

Open svrnwnsch opened 2 months ago

svrnwnsch commented 2 months ago

Hey I wonder if you could support ghostscript in version 9?

Currently I get on ubuntu noble an error after following the readme as the file libgs.so.9 is no longer found. The reason is that with version 10 the file is named libgs.so.10.

I don't know if there need to be any changes or if it simply enough to switch to this file. As a workaround a symlink pointing from libgs.so.9 -> libgs.so.10 might solve this issues for others.

NickNaso commented 2 months ago

'Hi @svrnwnsch, th best thing that you can do is to create a symlink that point to the new library. In alternative you can set the env variables: