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

chore: use static linking #25

Open
SebastianElvis opened this issue Aug 5, 2024 · 1 comment
Open

chore: use static linking #25

SebastianElvis opened this issue Aug 5, 2024 · 1 comment

Comments

@SebastianElvis
Copy link
Member

Found by @bap2pecs

I also found an interesting issue today. it seems the go binaries e.g. fpd requires dynamic linking, which leads to problem if one user builds it and share to another user:

Aug 02 22:10:25 op-devnet systemd[1]: Started FPD Daemon.
Aug 02 22:10:25 op-devnet fpd[401186]: /home/ubuntu/go/bin/fpd: error while loading shared libraries: libwasmvm.x86_64.so: cannot open shared object file: No such file or directory

running ldd, we can see the dynamic linking. any idea how to make it more portable?

$ ldd /home/ubuntu/go/bin/fpd                                                             [2:08:19]
linux-vdso.so.1 (0x00007ffe19097000)
libwasmvm.x86_64.so => /home/zidong/go/pkg/mod/github.com/!cosm!wasm/wasmvm/[email protected]/internal/api/libwasmvm.x86_64.so (0x000072d15a200000)
@gitferry
Copy link
Member

Is this addressed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants