If you invoke innative-cmd ./x.wasm -shared-lib /some/path/to/foo.so, lld will error about -l:/some/path/to/libfoo.so, which is the gcc way of linking by absolute pathname. I believe that innative should translate the command line option into lld -L/some/path/to -l:foo.so