undefined reference to `BN_new'
出现如下错误
undefined reference to `BN_CTX_new'
undefined reference to `BN_new'
undefined reference to `BN_rand'
undefined reference to `BN_bn2hex'
undefined reference to `BN_bn2hex'
undefined reference to `MD5'
解决办法
# gcc -lcrypto