Undefined reference to t1sl_steup_key_block when linking OpenSSL

后端 未结 2 650
别跟我提以往
别跟我提以往 2020-12-07 03:29

I got a problem of linking an OpenSSL library into an existing project. Where I do get it wrong?

Below are the steps I have followed.

I have downloaded the S

2条回答
  •  时光取名叫无心
    2020-12-07 03:46

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

    For example:

    gcc somefile.c -o someprogram -lssl -lcrypto
    

提交回复
热议问题