Skip to content
Prev 18272 / 63424 Next

pb with dyn.load - fortran code now attached

On Wed, 26 Oct 2005, Gilles GUILLOT wrote:

            
The is.loaded method needs the argument to look exactly
like the associated output from 'nm' (i.e., symbol name).

$ nm ~/tmp/test1.so | grep sub

Thus, you are manually asking for the following
The call to .Fortran use the (lowercase) name of the subroutine
as it would appear in the Fortran source code.

.Fortran("sub", ...)

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)