libgcrypt on Mac OS X

Fred fredm@spamcop.net
Thu, 24 Jul 2003 19:57:57 +0100


Thanks for the help Neil,

Neil Spring wrote:
> On Wednesday, Jul 23, 2003, at 15:13 US/Pacific, Fred wrote:
> 
>> Has anyone successfully build libgcrypt on Mac OS X?
> 
> Yes.  ./configure --disable-asm, as you note. I paid no attention to
> multiply defined symbols -- perhaps I'm reckless, but I've seen them
> in other libraries and lived to tell the tale.

My multiply-defined symbols were leading up to the following error:

/usr/lib/gcc/darwin/3.1/libgcc.a(_clz.o) private external definition of
___clz_tab in section (__TEXT,__const)
make[2]: *** [libgcrypt.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

However, I was testing libgcrypt-1.1.11, 1.1.12 works like you decribe 
:) [1]

Unfortunately, I need libgcrypt as a Apple framework, not a fink 
library, so I won't be in a position to test libgcrypt with any code 
ATM. Good luck with getting it into fink though!

Fred

[1] The GNU webpage still points to 1.1.11