Undefined reference to t1sl_steup_key_block when linking OpenSSL

风格不统一 提交于 2019-11-28 02:02:01

Have you tried using the libssl and libcrypto already installed in your /usr/lib directory (assuming you've installed the dev packages for both)? Once that compiles and runs without error using the default install, you can build your new libssl/libcrypto(?) from source, install to usr/local, and rebuild using the usr/local versions of the libraries.

efr4k

You need to add the flag -lssl and -lcrypto in your makefile'

For example:

gcc somefile.c -o someprogram -lssl -lcrypto
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!