-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
http://showterm.io/91ba3e0062b797c0bcaa6
> var swipl = require('node-prolog-swi');
Error: Cannot find module 'libswipl'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/jan/Projects/jwar/server/node_modules/node-prolog-swi/swipl.js:24:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
I'm not exactly sure why this happens.
I've had a small trouble installing it where it wasn't enough to set SWI_HOME_LIB, I had to link the libswipl.dylib to /usr/local/lib in the end.
I've tried setting DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to many different things, with no success.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels