Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: David Richards
Finishing the install on OSX [ reply ]  
2008-01-14 17:33
It seems I ran into a lot of the same problems getting things running on my OSX machine as some of the others. I am using OSX 10.4.11, Ruby 1.8.6, rb-gsl 1.10.3, and gsl 1.10.

I had a problem with gsl_linalg_hessenberg_set_zero expecting a value. Daniel Hoey kindly suggested a workaround:

On line 3488 of ext/linalg.c replace

return INT2FIX(gsl_linalg_hessenberg_set_zero(H));

with

gsl_linalg_hessenberg_set_zero(H);
return INT2FIX(0);

For a workaround, I seem to be all right. At least the package compiles.

At this point, however, I get the following error when I require 'gsl':

dyld: NSLinkModule() error
dyld: Symbol not found: _gsl_linalg_hesstri_decomp
Referenced from: /opt/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1/rb_gsl.bundle
Expected in: flat namespace

Trace/BPT trap

From my untrained eye, gsl_linalg_hesstri_decomp seems to be handled fine in linalg.c. As far as I know, I didn't have any problems in the gsl compile, and there were no related warnings tied to the rb-gsl compile.

I think my next step is to remove everything and build from scratch, looking for any errors that may be related. But, certainly I would look forward to any comments from someone that actually understands what problems are occurring.

Warm regards,

David