-
Notifications
You must be signed in to change notification settings - Fork 2
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
Missing symbols in libcomponentize_py_runtime.so #2
Comments
Searching around I found this, which might be related? |
Thanks for reporting this, @hishamhm. I'll try to reproduce it locally and see what the problem is. Note that this repo isn't really being maintained, and most of the dependencies are quite out-of-date at this point, so I don't recommend doing anything serious with it :) |
I was able to reproduce the issue. The Cargo.toml points to an immutable commit of |
I just pushed an update to the Note that I've updated the instructions in README.md to use a newer wasi-sdk build, as well as to configure and build the Rust fork a bit differently. |
@dicej Thank you! I'll do a full rebuild and report here ASAP!
Noted! I just wanted a starting point to be able to play a bit and start getting acquainted with the preview2 stuff. (since clearly there are a lot of moving parts and things under development in the dependencies!) Thank you for the initiative of putting together this repo! |
FYI, I accidentally committed some debug lines to server/Cargo.toml earlier and then fixed that, so please pull one more time to make sure you have the latest code. |
Hi! Happy to report that I got (most) tests passing! After your updates I was still getting most tests failing with a "file not found", but I managed to address it by fetching the command test adapter separately like this: mkdir target
cd target
wget https://github.com/bytecodealliance/wasmtime/releases/download/v18.0.4/wasi_snapshot_preview1.command.wasm
cd ..
export WASI_SOCKETS_TEST_ADAPTER=$(pwd)/target/wasi_snapshot_preview1.command.wasm (I tried just updating the URL in Also, for some reason The only remaining test failures are a couple of |
I followed all build steps in the README and they worked succesfully, apart from
cargo test --release
failing during build on the first try. The error message suggested me to runrustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
. When running this then tryingcargo test --release
again, then the build succeeded, but tests then failed with unresolved symbols inlibcomponentize_py_runtime.so
, as shown in the log below:Hope that helps diagnosing! Happy to provide any more info.
The text was updated successfully, but these errors were encountered: