>>>>> "D" == David Garamond <lists / zara.6.isreserved.com> writes: D> What about adding these configure option, so plruby.so doesn't need D> libruby.so at all? But sorry, I'm still not sure how to modify D> extconf.rb to accomplish this. In the Makefile I just replace LIBS= D> $(LIBRUBYARG_SHARED) with $(LIBRUBYARG_STATIC). Well, this is a little more complex. Try it with ruby extconf.rb --with-pgsql-include=/usr/include/pgsql \ --with-safe-level=0 --enable-geometry --enable-network find . -name '*so' I'm not really sure that you want $(LIBRUBYARG_STATIC) in this case Guy Decoux