From: Vincent Fourmond Date: 2006-08-02T13:42:33+09:00 Subject: Re: Static functions, extensions, linkage Hello ! > > This result is: > > ruby: symbol lookup error: > /home/djberge/programming/ruby/extensions/foo.so: undefined symbol: > flo_plus > > I tried linking explicitly against -lruby but that didn't help. 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 Cheers Vincent