gsl with ruby on leopard

Send to friend

Download gsl

cd gsl*.gz; ./configure; make; sudo make install

Download rb-gsl

cd rb-gsl*; cd ext; mvim Makefile

Change these lines to look like this (source):


DLDFLAGS = -L.
LDSHARED = $(CC) -pipe -bundle -undefined dynamic_lookup

ruby setup.rb setup

sudo ruby setup.rb install

That should do it.