Comments (5)
These error msg could be ignored correctly.
The first two errors are triggered when using the rust plugin.
The third error is the pre-compiled wasm file contains some incompatible AOT section so we just skip the AOT part and use the interpreter mode instead.
from wasmedge.
Hi @JohnFrrr
We only provided a pre-built plugin of the wasmedge_rustls on the x86_64 Linux platforms. If you want to use this plugin on arm64, please build from source instead.
from wasmedge.
Hi @hydai
Thanks for the clarification, but when I try to build it from source following these instructions I get the error:
error: no packages found with binaries or examples
Can you help me find out if I'm doing something wrong?
Here is the terminal history (already installed CMake and Rust):
~/WasmEdge/plugins/wasmedge_rustls$ cargo build --release
Compiling libc v0.2.153
Compiling cc v1.0.83
Compiling proc-macro2 v1.0.78
Compiling unicode-ident v1.0.12
Compiling cfg-if v1.0.0
Compiling getrandom v0.2.12
Compiling untrusted v0.9.0
Compiling ring v0.17.7
Compiling spin v0.9.8
Compiling ring v0.16.20
Compiling quote v1.0.35
Compiling syn v2.0.48
Compiling wasmedge_sys_ffi v0.13.0
Compiling thiserror v1.0.57
Compiling paste v1.0.14
Compiling thiserror-impl v1.0.57
Compiling webpki v0.22.4
Compiling log v0.4.20
Compiling once_cell v1.19.0
Compiling spin v0.5.2
Compiling untrusted v0.7.1
Compiling rustls v0.20.9
Compiling sct v0.7.1
Compiling wasmedge_plugin_sdk v0.2.0
Compiling webpki-roots v0.22.6
Compiling bytes v1.5.0
Compiling wasmedge_rustls_plugin v0.2.0 (/home/docker/WasmEdge/plugins/wasmedge_rustls)
Finished release [optimized] target(s) in 18.10s
~/WasmEdge/plugins/wasmedge_rustls$ cargo install --path .
error: no packages found with binaries or examples
from wasmedge.
Hi @JohnFrrr
Could you please check if there is a libwasmedge_rustls.so
file inside target/release
? If so, please copy it into your plugin folder.
Hi @L-jasmine
Please check if the issue about install --path .
is not working after the Lunar New Year vacation.
from wasmedge.
Thank you @hydai !
After copying the file to the plugin folder I can run the hyper https client example successfully using the rustls plugin, although I still receive the following three errors, should I worry about them?
[2024-02-18 18:03:40.345] [error] instantiation failed: module name conflict, Code: 0x60
[2024-02-18 18:03:40.345] [error] At AST node: module
[2024-02-18 18:03:40.350] [error] AOT section -- library load failed:loading failed: integer too large, Code: 0x35 , use interpreter mode instead.
*The first two are the same as the #2418 issue.
Here is a more complete history of the terminal:
sudo ls $HOME/.wasmedge/plugin #confirming that the file was correctly copied to the wasmedge plugin folder
libwasmedge_rustls.so #here it is
~$ cd wasmedge_hyper_demo/client-https
~/wasmedge_hyper_demo/client-https$ wasmedge wasmedge_hyper_client_https.wasm
[2024-02-18 18:03:40.345] [error] instantiation failed: module name conflict, Code: 0x60
[2024-02-18 18:03:40.345] [error] At AST node: module
[2024-02-18 18:03:40.350] [error] AOT section -- library load failed:loading failed: integer too large, Code: 0x35 , use interpreter mode instead.
Response: 200 OK
Headers: {
"date": "Sun, 18 Feb 2024 18:03:40 GMT",
"content-type": "application/json",
"content-length": "238",
"connection": "keep-alive",
"server": "gunicorn/19.9.0",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true",
}
{
"args": {
"msg": "WasmEdge"
},
"headers": {
"Host": "httpbin.org",
"X-Amzn-Trace-Id": "Root=1-65d2467c-3c79b310673c469c3b42e5d5"
},
"origin": "179.250.248.61",
"url": "https://httpbin.org/get?msg=WasmEdge"
}
Done!
from wasmedge.
Related Issues (20)
- feat: Enabling WasmEdge AOT mode execution in the proxy-wasm integration
- feat: Enabling LLM fine tuning in the WASI-NN PyTorch plugin HOT 2
- feat: Enabling LLM fine tuning in the WASI-NN ggml plugin HOT 3
- question: Possibility of simplifying running AI model-specific wasm Workloads with Embedded Configuration HOT 4
- feat: Crun + GGML plugin tracking issue HOT 13
- feat: Provide CUDA 11.3 pre-built ggml plugin HOT 1
- feat: Support `--main-gpu` in the ggml plugin
- feat: Support `--tensor-split` in the ggml plugin
- How can I run wasmedge on Windows11 with GGML plugin HOT 2
- Bug: (WASI) Failed to create directory with trailing backslash HOT 3
- bug: Can't install Rust TLS plugin on Mac OS HOT 11
- feat: Support auto-detect CUDA version for the ggml plugin in the installer
- bug: Remove `._*.*` files on macOS in the installer HOT 1
- Building WASM from source on android HOT 6
- bug: WasmEdge `0.14.0-alpha.2` doesn't work on macOS, at least due to a lack of `libprotobuf.25.1.0` and `libgrpc++.1.60.dylib`.
- WASI-NN with GPU on Jetson Orin Nano HOT 6
- LFX Workspace: Integrate burn.rs as a new WASI-NN backend HOT 4
- bug: LlamaEdge 0.4.0 installation on Mac Intel model, missing file ' WasmEdge-plugin-wasmedge_rustls-0.13.5-darwin_x86_64.tar.gz' HOT 3
- bug: Randomly fail of Windows or Windows-MSVC test for LLVM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmedge.