[krbdev.mit.edu #6671] login.c:(.text+0x281): undefined reference to `crypt

steve paesani via RT rt-comment at krbdev.mit.edu
Mon Mar 1 04:18:24 EST 2010


make error:
login.c:(.text+0x281): undefined reference to `crypt

I've tried modifying the Makefile where the code in question is 'cclinked':
-L./lib
no success
-l:/usr/local/lib/libcrypto.so
no success
-l:/usr/local/lib/libcrypto.a
no success
-l/usr/local/lib
redundant, yes. no success.

I would need some help identifying which library needs to be linked.

ps
login.c refers to crypt with two different signatures:
char* crypt();
and
... crypt(args....);
this passes compilation yet I don't know what affect, if any, this has on
linking. If someone could give me a heads up on the two different crypt
references in login.c that would be nice, thanks.

Thanks,
Steve




More information about the krb5-bugs mailing list