From: nobu.nokada@... Date: 2003-03-11T04:58:23+09:00 Subject: Re: YAML on solaris: problem with libiconv Hi, At Tue, 11 Mar 2003 03:40:22 +0900, Joel VanderWerf wrote: > >>This is after installing a fresh copy of libiconv (1.8), and the > >>reinstalling ruby. I've checked my LD_LIBRARY_PATH, and it does > >>include dirs containing: > > Check if the iconv.so is really updated and linked with new > > libiconv.so. > > I tried building iconv.so (ver 1.5 from RAA) from scratch, but that > didn't help. It's probably not relevant but there was a warning: > > iconv.c: In function `iconv_try': > iconv.c:187: warning: passing arg 2 of `libiconv' from incompatible > pointer type Don't mind about this warning, just because of const qualifier for 2nd parameter of iconv() varies per platforms. > I tried ldd ./iconv.so in the source dir: > > libdl.so.1 => /usr/lib/libdl.so.1 > libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 > libm.so.1 => /usr/lib/libm.so.1 > libc.so.1 => /usr/lib/libc.so.1 > libgen.so.1 => /usr/lib/libgen.so.1 > /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1 > > I'm a little surprised not to see libiconv here... Me too. What commands to compile/link, and the content of mkmf.log? -- Nobu Nakada