[R] unresolved symbols in growth and repeated libraries

mjantti@abo.fi mjantti at abo.fi
Thu Sep 2 17:22:54 CEST 1999



I am having trouble using Jim Lindsey's libraries because of unresolved
symbols. I am currently using R 0.65.0, but had this problem in earlier
releases as well. I have a RedHat 6.0 Linux on i386 and use egcs
(upgraded to that distributed with rawhide, after first failures with
the libraries):
egcs-g77-1.1.2-19
egcs-1.1.2-19

Installation of the libraries works but on loading
> library(repeated)
Loading required package: rmutil 
Error in dyn.load(file) : unable to load shared library "/usr/local/lib/R/library/repeated/libs/repeated.so":
  /usr/local/lib/R/library/repeated/libs/repeated.so: undefined symbol: do_lio
> library(growth)
Error in dyn.load(file) : unable to load shared library "/usr/local/lib/R/library/growth/libs/growth.so":
  /usr/local/lib/R/library/growth/libs/growth.so: undefined symbol: trans_

I would be greatful for tips from someone who has managed to get these
working on a RedHat Linux (or other Linux for that matter, which
fortran compiler was used and what libraries linked is what I would
like to know).

My $RHOME
/etc/Makeconf is

I# Generated automatically from Makeconf.in by configure.
#
# ${R_HOME}/etc/Makeconf

CC = gcc
CFLAGS = -g -O2
CPICFLAGS = -fPIC
CPPFLAGS = 
DEFS = -DHAVE_CONFIG_H
FC = g77
FFLAGS = -g -O2
FLIBS =  -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib -lg2c -lm
FPICFLAGS = -fPIC
F2C = 
F2CFLAGS = 
SHLIBEXT = so
SHLIBLD = gcc
SHLIBLDFLAGS = -shared

R_XTRA_CFLAGS =  -mieee-fp
R_XTRA_CPPFLAGS = -I$(R_HOME)/include
R_XTRA_FFLAGS = 

ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(CPPFLAGS) $(DEFS)
ALL_CFLAGS = $(R_XTRA_CFLAGS) $(CPICFLAGS) $(CFLAGS)
ALL_FFLAGS = $(R_XTRA_FFLAGS) $(FPICFLAGS) $(FFLAGS)

.SUFFIXES:
.SUFFIXES: .c .f .o

.c.o:
	$(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@

.f.c:
.f.o:
	$(FC) $(ALL_FFLAGS) -c $< -o $@

$(SHLIB): $(OBJS)
	$(SHLIBLD) $(SHLIBLDFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(FLIBS)
-----------------------------------------------------------------------------------

-- 
Markus Jantti				|	Department of Statistics
markus.jantti at abo.fi			|	Abo Akademi University
http://www.abo.fi/~mjantti		|	FIN 20500 Turku, Finland
358-9-643 747  (Home/Voice)		|	358-2-2154 161	(Office/Voice)
					|	358-2-2154 677	(Office/Fax)
PGP public key: http://www.abo.fi/~mjantti/pubring.asc

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list