From: Tim Hunter Date: 2006-08-02T21:50:10+09:00 Subject: Re: Static functions, extensions, linkage Vincent Fourmond wrote: > > By the way, if you're interested to know which symbols are exported > from a library, just do > > nm -D /usr/lib/library.so > > A look to that on my computer shows no references to flo_plus, only: > nm -D /usr/lib/libruby1.8.so | grep flo > U flock > U floor > 0000000000057ef0 T rb_float_new In Ruby, the functions that are intended for use by extensions start with the prefix "rb_" and are declared in either ruby.h or intern.h. Since flo_plus doesn't start with "rb_" it isn't intended to be available to extensions.