Open rennergade opened 4 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
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