Build fails due to missing -lwasmer library when vendored
alexpitsikoulis opened this issue · 3 comments
alexpitsikoulis commented
Describe The Bug
The library works fine unless I vendor, in which case the build fails
Steps To Reproduce
- Create project using the library
- go mod vendor
- build the project
Expected Behavior
Successful build
Actual Behavior
/usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1 ld: warning: directory not found for option '-L/<PATH TO DIRECTORY>/vendor/github.com/wasmerio/wasmer-go/wasmer/packaged/lib/darwin-aarch64' ld: library not found for -lwasmer clang: error: linker command failed with exit code 1 (use -v to see invocation)
dullduck commented
same problem
laotoutou commented
same problem
glethuillier commented
Same problem.