Trying to install with shared libraries on Mac OS X

James Brown jlbrown at
Mon May 8 09:10:37 CEST 2006

I am trying to install Libgmp on Mac OS 10.4.6 with shared libraries  
so that ClamAV can use it.

Before you say RTFM, I read the manual! I got it to compile with cc  
not gcc using:

./configure CC=cc

And everything seemed to work OK. Make, make check and make install  
went fine.

But when I try to make Clamav, it says:

*** Warning: This system can not link to static lib archive /usr/ 
*** I have the capability to make that library automatically link in  
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

ld: Undefined symbols:
/usr/bin/libtool: internal link edit command failed
make[2]: *** [] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any suggestions about how I can get around this?


-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
Url :

More information about the gmp-bugs mailing list