I just discovered that it loads properly when calling R from the terminal.
The same file dyn.loads well with command-line R, but fails to load in R.app.
Maybe this will help diagnose the problem.
Enrico Rossi
Hello!
>
> After upgrading to R 2.6.0, I'm having trouble loading compiled Fortran
> code
> into R via dyn.load().
>
> dyn.load("test.so")
> Error in dyn.load("test.so") :
> unable to load shared library '/Users/erossi/test/test.so':
> dlopen(/Users/erossi/test/test.so, 6): Library not loaded:
>
> /Library/Frameworks/R.framework/Versions/2.5/Resources/lib/libRlapack.dylib
> Referenced from: /Users/erossi/test/test.so
> Reason: image not found
>
> Attempting to re-compile using R CMD SHLIB says that the file is
> up-to-date,
> and deleting the built file and recompiling makes no difference. The error
> message seems to be referring to the 2.5 framework, not the 2.6 framework
> ... could that be the problem?
>
> I also tried the R-patched (2007-10-10 r43136) release from
> r.research.att.net, but that didn't resolve the problem.
> Does anyone know what I'm doing wrong?
>
> Thank you!
> Enrico Rossi
>
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac