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

Jouni Malinen j at w1.fi
Thu Mar 27 17:27:58 EDT 2014


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


More information about the HostAP mailing list