You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some SwiftPM projects build .so files on Linux, and these must be kept around for the built executables to work correctly.
For example, on Ubuntu 20.04
sudo apt install binaryen libsqlite3-dev
mint install swiftwasm/carton@main
carton
builds successfully but crashes when running carton with
carton: error while loading shared libraries: libSwiftPMDataModel.so: cannot open shared object file: No such file or directory
If carton is built manually, and the resulting .build/x86_64-unknown-linux-gnu/release/libSwiftPMDataModel.so is copied into $MINT_PATH/packages/github.com_swiftwasm_carton/build/main, then carton runs successfully.
Mint should preserve these .so files when building projects which create them.
The text was updated successfully, but these errors were encountered:
Some SwiftPM projects build
.so
files on Linux, and these must be kept around for the built executables to work correctly.For example, on Ubuntu 20.04
builds successfully but crashes when running
carton
withIf
carton
is built manually, and the resulting.build/x86_64-unknown-linux-gnu/release/libSwiftPMDataModel.so
is copied into$MINT_PATH/packages/github.com_swiftwasm_carton/build/main
, thencarton
runs successfully.Mint should preserve these
.so
files when building projects which create them.The text was updated successfully, but these errors were encountered: