In Ruby 1.8.7 and Rails 2.3.18, I used Dl.dlopen to load intel fortran dll 
like the following

require 'dl'
...

      sspath = Pathname.new( ".../lib/libsamplesize.dylib" )
      ss = DL.dlopen( sspath )
      samplesize = ss[ "samplesize_", "iiddS" ]
      session[:n], args = samplesize[ session[:nmax], session[:delta],
                          session[:conf], session[:errmsg] ] 

but I got error message at line

require 'dl' 

This error occurred while loading the following files:
   dl

Thanks!
Liz




-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/9548bd83-f419-487b-ba47-675a2ca2ee47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to