hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
668 stars 735 forks source link

ld: library not found for -lindy #2555

Closed kudzigeorge closed 9 months ago

kudzigeorge commented 2 years ago

Great project.

Been trying to run the demo on my local machine (MacOS). I have the latest libindy for my platform, together with other libraries it depends on.

On running

yarn install

I keep getting the

ld: library not found for -lindy

error.

Any leads on what I might be missing?

gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] CXX(target) Release/obj.target/indynodejs/src/indy.o SOLINK_MODULE(target) Release/indynodejs.node ld: library not found for -lindy clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Release/indynodejs.node] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/imac/Documents/newflex/animo-demo/node_modules/indy-sdk/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (node:events:394:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) gyp ERR! System Darwin 19.6.0