[R] unresolved symbols in dynamically linked code

Woodrow Setzer
Sat, 15 Apr 2000 21:14:25 -0000

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