From: Jim Freeze Date: 2003-04-11T21:11:45+09:00 Subject: rb_io_getline question Hi: I am experimenting with some of the C io routines for the first time and am getting a relocation error in rb_io_getline. The C code is: static VALUE ff_cloop(self, infptr) VALUE self, infptr; { VALUE str = Qnil; VALUE rs = rb_str_new2("\n"); // Is this correct? str = rb_io_getline(rs, infptr); // This line is causing the err return Qnil; } The error I get is: ld.so.1: /tools/apps/ruby/ruby-1.8.0/bin/ruby: fatal: relocation error: file ./fastfile.so: symbol rb_io_getline: referenced symbol not found Killed And the ruby driver code is: require 'fastfile' file = ARGV.shift ff = FastFile.new File.open(file) { |f| ff.cloop(f) } Can someone help me out here? Thanks -- Jim Freeze ---------- I just forgot my whole philosophy of life!!!