Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2015-01-09 12:34:16

scroggyg
Contributor
Registered: 2012-09-07
Posts: 14

Cannot find -lcrypto

I am compiling holiman's latest release (8th January 2015) and it fails with
mingw32/bin/ld.exe: cannot find -lcrypto
My tool chain builds up to 854 successfully. The code was downloaded as proxmark3-master this morning.
Any help would be appreciated.

Offline

#2 2015-01-09 12:39:57

iceman
Administrator
Registered: 2013-04-25
Posts: 9,506
Website

Re: Cannot find -lcrypto

You need to have OpenSSl installed  or use the folder (filled with the needed files ) that Asper made.  There was a discussion about it somewhere..  maybe on the ask/demod thread from Marshmellow..

Offline

#3 2015-01-09 13:24:42

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: Cannot find -lcrypto

http://proxmark.org/forum/viewtopic.php?id=2216&p=4

Offline

#4 2015-01-09 14:07:41

scroggyg
Contributor
Registered: 2012-09-07
Posts: 14

Re: Cannot find -lcrypto

Thanks Guys, got that downloaded, but the problem has remained. I had installed mingw directly on C, could that be an issue?
Fuller error message is:-
c:/mingw/bin/../lib/gcc/mingw32/4/7.2/../../../../mingw32/bin/ld.exe: cannot find -lcrypto
collect.exe: error: ld returned 1 exit status
make[1]: *** [proxmark3] Error 1
make[1]: Leaving directory '/c/proxmark3-07c/client'
make: *** [client/all] Error 2

Many Thanks

Offline

#5 2015-01-09 14:37:17

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Cannot find -lcrypto

I got that error until I added libeay32.dll http://proxmark.org/forum/viewtopic.php … 544#p13544
I put it in client/DLLs and then added it to the client make file libs.

Offline

#6 2015-01-09 14:53:09

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Cannot find -lcrypto

if you are using qt 4.x then you may also need to remove the top -LM -lcrypto from the makefile (leaving the lower one next to 99)

Offline

#7 2015-01-09 15:02:57

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Cannot find -lcrypto

for the current master trunk on github. only the last change i mentioned is needed. (remove -lm -lcrypto)

Offline

#8 2015-01-09 15:04:20

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Cannot find -lcrypto

eventually we will need openssl folder and libeay32.dll.

Offline

#9 2015-01-09 17:07:17

scroggyg
Contributor
Registered: 2012-09-07
Posts: 14

Re: Cannot find -lcrypto

Many thanks marshmallow, that built, which version of QT are you using at present, I assume if I change to that this will mean this will keep me in sync? smile

Offline

#10 2015-01-09 17:12:13

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Cannot find -lcrypto

I am still using 4.x, but many are using 5.x.   Soon, I hope we all get on the same page.

Offline

#11 2015-01-09 19:23:44

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: Cannot find -lcrypto

I have installed both then I change QTDIR= in the mingw path according to my needs.

Offline

Board footer

Powered by FluxBB