cannot find -lcrypt build error
Eli Schwartz
eschwartz at archlinux.org
Mon Mar 1 03:57:35 UTC 2021
On 2/28/21 10:50 PM, Josef wrote:
> Hi,
>
> when I set the config build BusyBox as a static binary (no shared
> libs) I get "cannot find -lcrypt" build error, however the crypt
> library exist for example when I run 'gcc test.c -lcrypt' it works,
> I'm not quite sure, it seems that busybox uses a different ld library
> path
Your test seems to be invalid. 'gcc test.c -lcrypt' is trying and
succeeding at dynamically linking the binary, which doesn't really tell
you anything about whether test.c would be able to statically link.
--
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210228/35fe9153/attachment.asc>
More information about the busybox
mailing list