wasmerio/wasmer-go

Build fails due to missing -lwasmer library when vendored

alexpitsikoulis opened this issue · 3 comments

Describe The Bug

The library works fine unless I vendor, in which case the build fails

Steps To Reproduce

  1. Create project using the library
  2. go mod vendor
  3. 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)

same problem

same problem

Same problem.