Loading Fortran code with NAG subroutines
Dear R-users, System specs R-1.2.2 under Unix Sun Solaris 2.7 Nag Fortran library Mark 18 when I try to dynload a Fortran77 code (compiled using R CMD SHLIB) which contains calls to NAG subroutines (nagsymbols) I get the following error message ld.so.1: /opt/rhome/R-1.2.2/bin/R.bin: fatal: relocation error: file /path/to/myfile.so: symbol nagsymbol_:referenced symbol not found I changed the default compilation flags in rhome/Makeconf (i.e. adding -L/path/to/nablib.so, -lnag) without success. Any suggestions on what might be missing? Thanks in advance, Claudio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._