From pgilbert at bank-banque-canada.ca  Wed Jun 22 17:09:55 2005
From: pgilbert at bank-banque-canada.ca (Paul Gilbert)
Date: Wed, 22 Jun 2005 11:09:55 -0400
Subject: [Rd] Lapack calls from fortran
Message-ID: <42B97F42.2060108@bank-banque-canada.ca>

I am trying to call the lapack routine dgesv in the R distribution from 
the fortran code for a package, but when I dyn.load("dse1.so") I get an 
error about undefined symbol: dgesv_

I thought the proper incantation was

MAKEFLAG="FLIBS=/path to/R-2.1.1/libRlapack.so" R CMD SHLIB dse1.f

but apparantly not. How does one do this?

Thanks,
Paul



[Rd] Lapack calls from fortran
Paul Gilbert