$ cat main.scm
(module main ()
(import (scheme)
(chicken base)
(chicken io)
(http-client)
(openssl))
(print (with-input-from-request "http://example.com" #f read-string)))
$ chicken-csc main.scm && ./main | head -4
Example Domain
$ csm -static -program main
'/usr/local/bin/chicken-csc' '-o' 'main' '-I' '/usr/home/gahr/fossil/openssl' '-C' '-I' '-C' '/usr/home/gahr/fossil/openssl' '-static' '/usr/home/gahr/fossil/openssl/main.scm'
ld: error: undefined symbol: SSL_CTX_free
>>> referenced by openssl.socket.static.c
>>> /home/gahr/.chicken-install/11/openssl.socket.o:(f_1734)
....