I want to compile moongose with static library of libssl .
I have given .a file with -L option.
But still it is loading .so file.
why ?
how can I force it to use static lib ?
I want to compile moongose with static library of libssl . I have given
Share
Run compilation under
strace, to look where .a file is being searched and why .so is loaded instead.EDIT
By default moongose loads SSL dynamically. To change this compile it with
NO_SSL_DLmacro. Add-DNO_SSL_DLto compilation command line. See this link.