[R] Error when loading odesolve

2006-08-04 Thread Wuming Gong
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@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.


Re: [R] Error when loading odesolve

2006-08-04 Thread Prof Brian Ripley
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@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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
R-help@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.


Re: [R] Error when loading odesolve

2006-08-04 Thread Setzer . Woodrow
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-0128Fax: (919) 541-1194



 Prof Brian 
 Ripley 
 [EMAIL PROTECTED]To 
 .ac.uk  Wuming Gong   
 Sent by: [EMAIL PROTECTED]   
 [EMAIL PROTECTED]cc 
 tat.math.ethz.ch r-help@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@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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
R-help@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.

__
R-help@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.