Build issue in ssi-abstraction
Hello,
I have an issue about libindy and indy-sdk to run ssi-abstraction in infrastructure.
My env:
- m1 Monterey
- node: v18.12.1
- Python 3.8.16
when I run docker-compose up --build ssi
, I got a build issue.
#0 3.414 E: Unable to locate package libindy
#0 33.53 Directory: /usr/src/app/node_modules/indy-sdk #0 33.53 Output: #0 33.53 gyp info it worked if it ends with ok #0 33.53 gyp info using node-gyp@8.4.1 #0 33.53 gyp info using node@12.22.12 | linux | arm64 #0 33.53 gyp info find Python using Python version 3.6.9 found at "/usr/bin/python3"
#0 33.53 SOLINK_MODULE(target) Release/obj.target/indynodejs.node #0 33.53 /usr/bin/ld: cannot find -lindy #0 33.53 collect2: error: ld returned 1 exit status #0 33.53 [indynodejs.target.mk:144](<http://indynodejs.target.mk:144/>): recipe for target 'Release/obj.target/indynodejs.node' failed #0 33.53 make: *** [Release/obj.target/indynodejs.node] Error 1 #0 33.53 make: Leaving directory '/usr/src/app/node_modules/indy-sdk/build' #0 33.53 gyp ERR! build error #0 33.53 gyp ERR! stack Error: make failed with exit code: 2 #0 33.53 gyp ERR! stack at ChildProcess.onExit (/usr/src/app/node_modules/node-gyp/lib/build.js:194:23) #0 33.53 gyp ERR! stack at ChildProcess.emit (events.js:314:20) #0 33.53 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) #0 33.53 gyp ERR! System Linux 5.15.49-linuxkit #0 33.53 gyp ERR! command "/usr/bin/node" "/usr/src/app/node_modules/indy-sdk/node_modules/.bin/node-gyp" "rebuild" #0 33.53 gyp ERR! cwd /usr/src/app/node_modules/indy-sdk #0 33.53 gyp ERR! node -v v12.22.12 #0 33.53 gyp ERR! node-gyp -v v8.4.1 #0 33.53 gyp ERR! not ok
Edited by Cristina Pauna