Compilation wpa_suplicant - /bin/ld: cannot find -lcrypto

Vu Hai NGUYEN vh.nguyen
Fri Mar 28 01:18:10 PDT 2014


Thank you Jouni Malinen for your response, actually when I said I look in the directory /lib/usr I meant it was in my cross compile already,  sorry for not be clear.
This is the path of my lib,
/home/alberix2/Desktop/ACCESS_POINT_workspace/ACCESS_POINT2_prj/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib
Sincerely,


NGUYEN Vu Hai
Acita-Sodielec
Route de Mayres - B.P. 9
12100 St GEORGES DE LUZENCON
FRANCE

________________________________________
De : hostap-bounces at lists.shmoo.com [hostap-bounces at lists.shmoo.com] de la part de Jouni Malinen [j at w1.fi]
Date d'envoi : jeudi 27 mars 2014 22:27
? : hostap at lists.shmoo.com
Objet : Re: Compilation wpa_suplicant - /bin/ld: cannot find -lcrypto

On Thu, Mar 27, 2014 at 05:11:41PM +0100, Vu Hai NGUYEN wrote:
> /home/alberix2/Cross-Compiler/Marvell_toolchain_201201/armv7-marvell-linux-gnueabi-softfp_i686/bin/../lib/gcc/arm-marvell-linux-gnueabi/4.6.2/../../../../arm-marvell-linux-gnueabi/bin/ld: cannot find -lcrypto

> I have looked on the internet and found that the problem may concerned about missing library file "libcrypto.so" in the directory /lib/usr, I went into the directory and saw 2 file libcrypto.so.1.0.0 and libcrypto.so (this is just a link to libcrypto.so.1.0.0). Their permission is Read only, but even if I changed their permission to Read & Write, the error is still there and I don't know how to correct it.

That linker command line seems to imply that you are using a cross
compiler. As such, you would need to have this library available as part
of that cross compiler setup. Having it available from the host system
is not going to help.

--
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
HostAP mailing list
HostAP at lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap



More information about the Hostap mailing list