Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: libnegentropy.so is missing during link or false linked. #3040

Closed
NagyZoltanPeter opened this issue Sep 17, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@NagyZoltanPeter
Copy link
Contributor

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 NagyZoltanPeter added the bug Something isn't working label Sep 17, 2024
@NagyZoltanPeter NagyZoltanPeter self-assigned this Sep 17, 2024
@NagyZoltanPeter
Copy link
Contributor Author

Fixed with: #3041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants