Closed chenyukang closed 3 years ago
I can compile it on Ubuntu 20.04, even without install LLVM12. This is my GLIBC info:
Sorry about the inconvenience, our wasmedge deb
release is based on Ubuntu 20.04 with LLVM 12.
If you want to use an old version of Ubuntu, please use the installation script. It will download the manylinux2014
build which is based on CentOS 7 and is compatible with most popular linux distributions
$ wget https://github.com/second-state/WasmEdge-go/releases/download/v0.8.1/install_wasmedge.sh
$ sudo ./install_wasmedge.sh /usr/local
Ref: https://github.com/second-state/WasmEdge-go#wasmedge-shared-library-installation
Yes, I tried to use this script, but does not work. Maybe something is broken. anyway my old ubuntu VM is not in the right state. I will use a new empty VM to confirm it.
[](On Ubuntu 18.04
Try to compile some examples on machine:
Commands:
I got many errors and I solved some but still the Glibc version is too low. Do I miss something?
Undefined reference to LLVM 12
We need to install LLVM12 for compilation.
Fix it:
Undefined reference to GLIBCXX_3.4.26
Fix it:
Need to upgrade libstdc++6 to latest version like this
After that you can check if you get GLIBCXX desired version like this:
Link error can not find
GLIbC_2.33
Glibc version is too low, double check it:
I compiled and install GLIBC2.33 and then install it on /usr/local, the final error is:
with GLIBC: