Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while loading shared libraries #378

Open
LittleSheep2Code opened this issue Mar 22, 2023 · 4 comments
Open

Error while loading shared libraries #378

LittleSheep2Code opened this issue Mar 22, 2023 · 4 comments
Labels
❓ question Further information is requested

Comments

@LittleSheep2Code
Copy link

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
@LittleSheep2Code LittleSheep2Code added the ❓ question Further information is requested label Mar 22, 2023
@ptitSeb
Copy link

ptitSeb commented Mar 22, 2023

You may need to add a LD_LIBRARY_PATH env. var. that point to the libwasmer.so library.

@LittleSheep2Code
Copy link
Author

LittleSheep2Code commented Mar 22, 2023

You may need to add a LD_LIBRARY_PATH env. var. that point to the libwasmer.so library.

But I cannot found libwasmer.so. Do I need to install other packages?

@LittleSheep2Code
Copy link
Author

LittleSheep2Code commented Mar 23, 2023

I rebuild my project on my remote server.
Build is success, but it still cannot run.

@boli2017
Copy link

boli2017 commented Apr 6, 2023

LD_LIBRARY_PATH

How to compile libwasmer.so with my main.go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants