In article <slrnb069pq.6gp.jeremy / ganglion.demon.co.uk>, Jeremy Henty (ie. me) wrote: >>> I fixed things myself by commenting out ext/extmk.rb.in , line 381. >>> >>> 381: $DLDFLAGS << " -Wl,--no-undefined" >>> >>> Now ruby builds, tests and installs OK. Unfortunately your patch >>> gives me: >>> >>> gcc -shared -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/local/src/Build/Tools/ruby-1.6.8-preview4 -L/usr/local/lib -o curses.so curses.o -L. -lruby -ldl -lcrypt -lm -lncurses -lc >>> /usr/bin/ld: unrecognized option `--allow-shlib-undefined' > I have downloaded the latest binutils. I guess that should fix it. Update: it did. Thanks to Nobu for all his suggestions. Regards, Jeremy Henty