Naomi Hospodarsky wrote:
> Okay, that makes sense. I tried copying the lib files over to
> /usr/local/lib as you suggested, and am now getting this error in
> config.log
> 
> configure:15256: checking for libgmp
> configure:15286: cc -qlanglvl=extc89 -o conftest -g
> -I/usr/local/include  conftest.c  /usr/local/lib/libgmp.a >&5
> ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> configure:15292: $? = 8
> 
> d'you happen to know if I need to do something to tell AIX that I
> moved the lib files?
> I'm fairly new-ish to compiling software on AIX.
> 

It is not happy with that it found. If you have the nm utility try running:

nm /usr/local/lib/libgmp.a |grep __gmpz_init

and see if it finds the __gmpz_init function. It's also possible that it 
didn't look in /usr/local/lib in which case you may need to set LDFLAGS 
as in this example:

LDFLAGS="-R/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/local/ssl"

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to