C
C
Chvalov2015-03-25 15:05:12
linux
Chvalov, 2015-03-25 15:05:12

How to overcome /usr/bin/ld: cannot find -lcrypto error while compiling?

I need this utility https://github.com/rk3066/rk-tools , but I just can’t compile it
, when I run make it gives the following:

[email protected]:/home/ronni/Globex_GU701R/NEWLOGO/rk-tools-master# sudo make
gcc -g -O2 -DUSE_OPENSSL -o afptool afptool.c -lcrypto
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
Makefile:13: ошибка выполнения рецепта для цели «afptool»
make: *** [afptool] Ошибка 1
[email protected]:/home/ronni/Globex_GU701R/NEWLOGO/rk-tools-master#
How to overcome it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Chvalov, 2015-03-25
@Chvalov

sudo apt-get install libssl-dev libcrypto++-dev

K
krypt3r, 2015-03-25
@krypt3r

/usr/bin/ld: cannot find -lcrypto

After all, it is obvious that you need to install the package containing the libcrypto.so. This is libssl-dev

V
Vladimir Martyanov, 2015-03-25
@vilgeforce

Install libcrypto

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question