Error while loading shared libraries
LittleSheep2Code opened this issue · comments
LittleSheep commented
Summary
Run wasmer-go on remote server.
But it's work on my local machine.
I also try to install wasmer CLI and failed too.
Which libraries do I need to install?
./main: error while loading shared libraries: libwasmer.so: cannot open shared object file: No such file or directory
ptitSeb commented
You may need to add a LD_LIBRARY_PATH
env. var. that point to the libwasmer.so
library.
LittleSheep commented
You may need to add a
LD_LIBRARY_PATH
env. var. that point to thelibwasmer.so
library.
But I cannot found libwasmer.so
. Do I need to install other packages?
LittleSheep commented
I rebuild my project on my remote server.
Build is success, but it still cannot run.
boli2017 commented
LD_LIBRARY_PATH
How to compile libwasmer.so with my main.go?