I don't know if this GitHub issue <https://github.com/urweb/urweb/issues/44> is related, but in general I made a token effort (about 10 years ago) to support static linking by adding one flag to the GCC/Clang command line, and it has been clear for years that more modifications are needed somehow.  I don't intend to research them myself since I literally always use dynamic linking for Ur/Web apps, but I would be very glad to see related PRs.

On 10/27/18 7:32 PM, Fabrice Leal wrote:
So as I was trying to make a release for deployment on a cloud vm, I tried to compile a fastcgi executable using the -static option but I get some warnings and some errors from what it seems to be undefined references to SSL_ function calls - to successfully deploy i had to copy a bunch of .so files which is not ideal, but I got it working. Wonder what everyone's experience is or if im missing something.
_______________________________________________
Ur mailing list
Ur@impredicative.com
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to