[R] unresolved symbols in dynamically linked code
Woodrow Setzer
wsetzer at mindspring.com
Sat Apr 15 23:14:25 CEST 2000
I'm probably misunderstanding something in "Writing R Extensions" version
1.0.0. In the chapter on the R API, section 4.7, it is stated that the
functions listed in R_ext/Linpack.h are available to users' Fortran code.
I am developing a developing a library of ode solvers, based on lsoda and
ddassl, and which in turn call some routines from linpack and double
precision blas. I originally developed the library including those
routines, and got a functional shared library. When I removed the
routines listed in Linpack.h, dyn.load gave the error:
...../call_lsoda.so: undefined symbol dgbfa_
Have I misunderstood the documentation, or do I need to do something
special to resolve these symbols? I am using R SHLIB to do the make, and
am working on a Redhat Linux 6.1 machine. When I set the option "verbose"
to TRUE, I get the warning, "Explicit local dynamic loading not supported
on this platform. Using default."
--
Woodrow Setzer
Biostatistics and Research Support Staff
National Health and Environmental Effects Laboratory,
U.S. Environmental Protection Agency
Research Triangle Park, NC 27711
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list