[R] Error when loading odesolve

Setzer.Woodrow at epamail.epa.gov Setzer.Woodrow at epamail.epa.gov
Fri Aug 4 22:22:06 CEST 2006


Prof. Ripley:
Thanks for diagnosing Wuming Gong's problem.
 I'm not sure I would have recognized the solution so quickly.  I have
uploaded to CRAN a new version of odesolve with Makevars fixed.

R. Woodrow Setzer, Ph. D.
National Center for Computational Toxicology
US Environmental Protection Agency
Mail Drop B205-01/US EPA/RTP, NC 27711
Ph: (919) 541-0128    Fax: (919) 541-1194


                                                                        
             Prof Brian                                                 
             Ripley                                                     
             <ripley at stats.ox                                        To 
             .ac.uk>                  Wuming Gong                       
             Sent by:                 <wuming.gong at gmail.com>           
             r-help-bounces at s                                        cc 
             tat.math.ethz.ch         r-help at stat.math.ethz.ch          
                                                                Subject 
                                      Re: [R] Error when loading        
             08/04/2006 01:33         odesolve                          
             PM                                                         
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        




Looking at odesolve, src/Makevars is

PKG_LIBS=$(BLAS_LIBS)

Now, the documentation says that if you have $(BLAS_LIBS) you must also
have $(FLIBS), so please change this to

PKG_LIBS=$(BLAS_LIBS) $(FLIBS)

and take this up with the package maintainer (which is what the posting
guide asked you to do in the first place).


On Sat, 5 Aug 2006, Wuming Gong wrote:

> Dear list,
>
> I installed odesolve package (0.5-15) in R 2.3.1 in a Solaris server
> (Generic_118558-11 sun4u sparc SUNW,Sun-Blade-1000).  The installing
> progress completed without errors, though several warnings like
> "Warning: Option -fPIC passed to ld, if ld is invoked, ignored
> otherwise" were outputed.
>
> However, when loading the odesolve package by library(odesolve),
> following error messages pop out:
>
> > library(odesolve)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>         unable to load shared library
> '/project/scratch/ligroup/R1/lib/R/library/odesolve/libs/odesolve.so':
>   ld.so.1: R: fatal: relocation error: file
> /project/scratch/ligroup/R1/lib/R/library/odesolve/libs/odesolve.so:
> symbol __f90_ssfw: referenced symbol not found
> Error: package/namespace load failed for 'odesolve'
>
> Could any one tell me how to fix this problem?
>
> Thanks very much.
>
> Wuming
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

--
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list