wasmer-go icon indicating copy to clipboard operation
wasmer-go copied to clipboard

Build fails due to missing -lwasmer library when vendored

Open alexpitsikoulis opened this issue 2 years ago • 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)

alexpitsikoulis avatar Dec 29 '22 03:12 alexpitsikoulis

same problem

dullduck avatar Jan 31 '23 11:01 dullduck

same problem

laotoutou avatar Feb 21 '23 17:02 laotoutou

Same problem.

glethuillier avatar Feb 27 '23 19:02 glethuillier