bug: libnegentropy.so is missing during link or false linked.
Closed this issue · 1 comments
NagyZoltanPeter commented
Problem
During make docker-image
that should build wakunode2 inside docker box and create an image out of it, libnegentropy.so is not found during link.
collect2: error: ld returned 1 exit status
Error: execution of an external program failed: 'gcc @wakunode2_linkerArgs.txt```
But some other cases the build binary will miss the proper link to the shared object.
Suspected to have connection with the used `{.link.}` pragma in waku_sync/raw_bindings.
But removing that additional link issues appeared.
### Impact
It is hard to create native docker image with make currently, while ci uses a completely different approach to build image for testging.
### Expected behavior
Build should succeed in any case.
### Proposal
Try build and link libnegentropy static.
NagyZoltanPeter commented
Fixed with: #3041