From: Matt Lawrence Date: 2004-06-25T13:06:57+09:00 Subject: Re: Building Ruby on AIX -- again On Fri, 25 Jun 2004 nobu.nokada@softhome.net wrote: > > It's really long. After going through the log, it looks like configure is > > trying to link against libm, which doesn't exist. My guess is that > > configure needs to be told what the correct library is. > > libm really doesn't exist? Then where are math functions? Ok, I'm an idiot. I needed to install the bos.adt.* packages. Hopefully somebody else will find this message in the archives and avoid looking like a fool. Now I'm down to this error: compiling iconv gcc -g -O2 -I. -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1 -I/usr/src/ruby-1.8.1/ext/iconv -DHAVE_ICONV_H -DICONV_INPTR_CAST="(char **)" -I/usr/include -c iconv.c /usr/ccs/bin/ld -brtl -eInit_iconv -bI:/usr/src/ruby-1.8.1/ruby.imp -bM:SRE -T512 -H512 -lc -L"/usr/src/ruby-1.8.1" -L"/usr/local/lib" -o iconv.so iconv.o -ldl -lcrypt -lm -lc ld: 0711-317 ERROR: Undefined symbol: .iconv_open ld: 0711-317 ERROR: Undefined symbol: .iconv_close ld: 0711-317 ERROR: Undefined symbol: .iconv ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. -- Matt Weinberg's Law: If builders built buildings the way that programmers wrote programs, the first woodpecker that came along would destroy civilization.