Lind-Project / lind-wasm

https://lind-project.github.io/lind-wasm-docs/
Apache License 2.0
2 stars 1 forks source link

Run statically linked Native LAMP Stack #3

Open rennergade opened 3 months ago

rennergade commented 3 months ago

Currently wasi-sdk only supports static linking, which may prove a problem as we may need dynamic linking to run our LAMP stack programs (nginx, python, postgres). Lets see if we can statically link each running natively first.

Some maybe helpful links for nginx and python https://stackoverflow.com/questions/71847448/static-build-of-nginx https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_packaging_static_linking.html

It seems like this may not be possible for postgres, so maybe need to use a different database such as SQLite https://www.postgresql.org/message-id/10384.1639260044%40sss.pgh.pa.us