A
ara howard
rubyists-
i've compiled the ruby narray and nimage packages and am attempting to run one
of the demo programs but keep getting these types of errors:
ruby: relocation error:
/data/ruby-1.8.0//lib/ruby/site_ruby/1.8/i686-linux/nimage_c.so: undefined
symbol: str2cstr
now, it's been while since i did any ruby/c bindings, but shouldn't this
symbol be available in any running ruby program? an ldd of the lib shows
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
libdl.so.2 => /lib/libdl.so.2 (0x400f6000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x400f9000)
libm.so.6 => /lib/i686/libm.so.6 (0x40126000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
so it would seem that it is, in fact, expecte that str2cstr should be found
withing the libs loaded by ruby itself. has this method vanished or something?
-a
ps. please cc me at the address below on any reply as our news server is down...
--
ATTN: please update you address books with address below!
===============================================================================
| EMAIL :: Ara.T.Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
| STP :: http://www.ngdc.noaa.gov/stp/
| NGDC :: http://www.ngdc.noaa.gov/
| NESDIS :: http://www.nesdis.noaa.gov/
| NOAA :: http://www.noaa.gov/
| US DOC :: http://www.commerce.gov/
|
| The difference between art and science is that science is what we
| understand well enough to explain to a computer.
| Art is everything else.
| -- Donald Knuth, "Discover"
|
| /bin/sh -c 'for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done'
===============================================================================
i've compiled the ruby narray and nimage packages and am attempting to run one
of the demo programs but keep getting these types of errors:
ruby: relocation error:
/data/ruby-1.8.0//lib/ruby/site_ruby/1.8/i686-linux/nimage_c.so: undefined
symbol: str2cstr
now, it's been while since i did any ruby/c bindings, but shouldn't this
symbol be available in any running ruby program? an ldd of the lib shows
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40020000)
libdl.so.2 => /lib/libdl.so.2 (0x400f6000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x400f9000)
libm.so.6 => /lib/i686/libm.so.6 (0x40126000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
so it would seem that it is, in fact, expecte that str2cstr should be found
withing the libs loaded by ruby itself. has this method vanished or something?
-a
ps. please cc me at the address below on any reply as our news server is down...
--
ATTN: please update you address books with address below!
===============================================================================
| EMAIL :: Ara.T.Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
| STP :: http://www.ngdc.noaa.gov/stp/
| NGDC :: http://www.ngdc.noaa.gov/
| NESDIS :: http://www.nesdis.noaa.gov/
| NOAA :: http://www.noaa.gov/
| US DOC :: http://www.commerce.gov/
|
| The difference between art and science is that science is what we
| understand well enough to explain to a computer.
| Art is everything else.
| -- Donald Knuth, "Discover"
|
| /bin/sh -c 'for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done'
===============================================================================