I can compile the erlang client Version: 2.1.2, but I can not integrate it into the erlang environment

Please try adding -lcrypto to your link line