Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linker flag -lcrypt



On Dec 6, 2005, at 4:52 PM, Bradley Giesbrecht wrote:
Hi,

I'm getting a compile error:
/usr/bin/ld: can't locate file for: -lcrypt

I've read here:
http://developer.apple.com/technotes/tn2002/tn2071.html

that the linker flag -lcrypt is not supported in Mac OS X.

Is there an easy way around this, maybe using mcrypt?

I'm new to this so keep that in mind if you will.

Just omit the attempt to link against a libcrypt.dylib entirely; the crypt function is in the system C library: no special linker options required.


-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden
References: 
 >linker flag -lcrypt (From: Bradley Giesbrecht <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.