From: nobu.nokada@... Date: 2003-03-10T18:41:17+09:00 Subject: Re: YAML on solaris: problem with libiconv Hi, At Mon, 10 Mar 2003 15:15:39 +0900, Joel VanderWerf wrote: > I'm trying to use yamlrb-0.49.2, with ruby 1.7.3 (2002-12-20) on > solaris 7. Even the most basic uses fail: > > $ ruby -r yaml -e '1.to_yaml' > /usr/path/lib/ruby/site_ruby/1.7/sparc-solaris2.7/iconv.so: warning: > defining Iconv.allocate is deprecated; use rb_define_alloc_func() Well, ext/iconv/iconv.c was modified at 2002-12-20, but your SO doen't seem up-to-date. revision 1.5 date: 2002/12/20 11:23:40; author: nobu; state: Exp; lines: +3 -3 * ext/curses/curses.c, ext/digest/digest.c, ext/dl/handle.c, ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, ext/iconv/iconv.c, ext/stringio/stringio.c, ext/strscan/strscan.c, ext/tcltklib/tcltklib.c, ext/win32ole/win32ole.c: use rb_define_alloc_func(). > 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. -- Nobu Nakada