heartleech icon indicating copy to clipboard operation
heartleech copied to clipboard

Cannot compile/link

Open NeilHanlon opened this issue 10 years ago • 3 comments

I've compiled openssl, and am trying to build the tool, but I receive the following:

╭─<root@drop1>-<~/openssl>-<master●>-<11:15AM>-◇
╰─➤ gcc ../heartleech/heartleech.c libcrypto.a libssl.a -ldl -o heartleech
../heartleech/heartleech.c:64:25: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.

I've tried modifying the path to go to where I can find ssl.h.. but that doesn't fix anything, and just causes more fatal errors.

NeilHanlon avatar Apr 15 '14 15:04 NeilHanlon

Did you copy openssl header files into openssl include folder?

postacik avatar Apr 15 '14 15:04 postacik

Huh? Where are they supposed to be put? I have the header files in openssl/include/openssl... where are they supposed to be referenced?

NeilHanlon avatar Apr 15 '14 16:04 NeilHanlon

You could also just apt-get libssl-dev, assuming you're running a ubuntu based distrobution.

martijnboers avatar Apr 17 '14 14:04 martijnboers