HI,
In ubuntu 18.04, amberframework fails to build with the openssl issue:
~/amber-stable# make install
Building amber in /root/amber-stable/bin/amber
_main.o: In function `__crystal_main':
main_module:(.text+0xeb8): undefined reference to `SSL_library_init'
main_module:(.text+0xebd): undefined reference to `SSL_load_error_strings'
main_module:(.text+0xec2): undefined reference to `OPENSSL_add_all_algorithms_noconf'
main_module:(.text+0xec7): undefined reference to `ERR_load_crypto_strings'
O-penS-S-L-5858S-S-L-5858C-ontext.o: In function `*OpenSSL::SSL::Context::default_method:Pointer(Void)':
OpenSSL::SSL::Context:(.text+0x2): undefined reference to `SSLv23_method'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o '/root/amber-stable/bin/amber' -rdynamic -lsqlite3 `command -v pkg-config > /dev/null && pkg-config --libs libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs libcrypto || printf %s '-lcrypto'` -lyaml -lpcre -lm -lgc -lpthread /usr/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`
Makefile:17: recipe for target '/root/amber-stable/bin/amber' failed
make: *** [/root/amber-stable/bin/amber] Error 1
But builds fine in ubuntu 16.04.
HI,
In ubuntu 18.04, amberframework fails to build with the openssl issue:
But builds fine in ubuntu 16.04.