I don't understand exactly what you mean. The class that I am loading into ruby is called "Lib." When I was getting that error the only thing that was named c_lib was the .c file itself. I have no idea where else it could have gotten that name.
This might be a bit nit-picky but the Init doesn't need to be named the
same as
the .c file necissarily. It needs to be named the same as the class or
Module
that Ruby will be loading from your .so. I haven't tried this but I
would
assume if you had multiple modules defined in one c file you'd need an
Init_<module_name> for each one the link step would fail if any were
absent. I
doubt you'll ever run into, it's just something to file away.
David
···
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com