Hello,
Is perl able to link a fortran subroutine ?
I have no problem to make ma c code callable by gcc (xs) I can call a fortran routine from a c program. But perl fails to load a so library linked with a piece of fortran.
The erreur is: cannot restore segment prot after reloc: Permission denied at /usr/lib/perl5/DynaLoader.pm line 200.
Is there any solution ? Linker options ?
On Sun, May 01, 2011 at 10:22:32PM +0100, Patrick Dupre wrote:
Is perl able to link a fortran subroutine ?
Try this:
http://www.perlmonks.org/bare/?node_id=802384
(No, I haven't spent any time looking at this--a quick google.)
G'luck, -- Dave Ihnat dihnat@dminet.com