Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: James M. Lawrence
RE: lapack.so: no such file [ reply ]  
2008-09-06 21:40
This is fixed in the 1.0.0 release, where I now check DLEXT in rbconfig.

I have included a Mac binary of Linalg as well, using g77 from http://hpc.sourceforge.net/

By: Parker Morse
RE: lapack.so: no such file [ reply ]  
2008-03-26 19:32
The problem is that the install.rb file builds lapack.bundle and linalg.bundle rather than lapack.so and linalg.so on the Mac. I suspect this is due to a change in mkmf since this file was created, but I'm not sure.

I was able to force an install by issuing `ruby install.rb make`, renaming the .bundle files to .so files (in ext/lapack and ext/linalg) and then running `sudo ruby install.rb install`.

See here for details:


http://www.commonmediainc.com/2008/03/24/building-lapack-and-rubys-linalg-on-mac-os-x/

By: Daryl Keeter
lapack.so: no such file [ reply ]  
2007-07-17 18:30
This forum looks a bit vacant but...

I recently needed to install linalg after downloading the scripts on the following site:

http://www.igvita.com/blog/2007/01/15/svd-recommendation-system-in-ruby/

When I tried to run the file, which required 'linalg' I get the following error:

/usr/local/lib/ruby/site_ruby/1.8/lapack.rb:7:in `require': no such file to load -- lapack.so (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/lapack.rb:7
from /usr/local/lib/ruby/site_ruby/1.8/linalg.rb:7:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/linalg.rb:7
from svd-recommender.rb:1:in `require'
from svd-recommender.rb:1

I thought that I needed to install the stand-alone version of LAPACK in order to fix this. So I followed instructions on:

http://www1.gly.bris.ac.uk/~wookey/MEFTLG/g77.htm

I successfully installed the g77 compiler, needed to compile LAPACK 3.1.1. After successfully installing and testing LAPACK, I tried running the script and again, I get the same error.

I have checked my paths and all are correct. I looked in the install logs of linalg and verified that lapack.so was in the correct directory and had the correct permissions.

I am running Intel OSX 10.4.10 with ruby 1.8.5 (2006-08-25) [i686-darwin8.9.1]

Any help or comments would be greatly appreciated. I'll report back to this thread if I find anything.