NickNaso / ghostscript4js

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

Ghostscript March 7 update breaks Ghostscript4js #68

Closed BrandonCopley closed 5 months ago

BrandonCopley commented 5 months ago

I'm currently using ghostscript4js and the March 7 ghostscript update appears to break things.

When running, I'm getting the error:

Error: dlopen(/Users/user/node_modules/ghostscript4js/build/Release/ghostscript4js.node, 0x0001): Library not loaded: /opt/homebrew/opt/ghostscript/lib/libgs.dylib.9.55 Referenced from: <06EE0810-C7B4-3B25-B5C1-C258F20A511B> /Users/user/node_modules/ghostscript4js/build/Release/ghostscript4js.node

Reason: tried: '/opt/homebrew/opt/ghostscript/lib/libgs.dylib.9.55' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/ghostscript/lib/libgs.dylib.9.55' (no such file), '/opt/homebrew/opt/ghostscript/lib/libgs.dylib.9.55' (no such file), '/usr/local/lib/libgs.dylib.9.55' (no such file), '/usr/lib/libgs.dylib.9.55' (no such file, not in dyld cache), '/opt/homebrew/Cellar/ghostscript/10.03.0/lib/libgs.dylib.9.55' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/ghostscript/10.03.0/lib/libgs.dylib.9.55' (no such file), '/opt/homebrew/Cellar/ghostscript/10.03.0/lib/libgs.dylib.9.55' (no such file), '/usr/local/lib/libgs.dylib.9.55' (no such file), '/usr/lib/libgs.dylib.9.55' (no such file, not in dyld cache)

BrandonCopley commented 5 months ago

removing and re-installing ghostscript4js solves. thx