openSSL Errors

I'm using Vapor-4 and encountered strange issues when compiling on Linux :

:0: error: symbol 'shim_BIO_get_mem_ptr' (shim_BIO_get_mem_ptr) is in generated IR file, but not in TBD file

How can I fix this ?

David