Hi R users,
I want to build R-2.8.1 on AIX5.3, but I got following error message:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/rnd/homes/jixu/tmp/R-2.8.1/library/stats/libs/stats.so':
rtld: 0712-001 Symbol d1mach was referenced
from module /rnd/homes/jixu/tmp/R-2.8.1/library/stats/libs/stats.so(), but
a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol interv was referenced
from module /rnd/homes/jixu/tmp/R-2.8.1/library/stats/libs/stats.so(), but
a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.
Error: unable to load R code in package 'methods'
Execution halted
I found there is someone meet same problem when he build R-2.7.0 by searching
r-help, and he used a patch to resolve this issue. The patch¡¯s location is
http://prs.ism.ac.jp/~nakama/AIX/changefiles. But I can not find a patch R-2.8.1
in this path.
So I want to know what I can do if I want to build R-2.8.1 on AIX5.3
In addition I use IBM compiler with below parameter:
OBJECT_MODE=64
LIBICONV=/where/libiconv/installed
CC="xlc_r -q64"
CFLAGS="-O -qstrict"
CXX="xlC_r -q64"
CXXFLAGS="-O -qstrict"
F77="xlf_r -q64"
AR="ar -X64"
CPPFLAGS="-I$LIBICONV/include -I/usr/lpp/X11/include/X11"
LDFLAGS="-L$LIBICONV/lib -L/usr/lib -L/usr/X11R6/lib"
--prefix=/my_R_dir \
--enable-R-shlib \
--enable-BLAS-shlib \
--with-x \
--with-readline=no
Thanks
Jin
_________________________________________________________________
[[elided Hotmail spam]]
[[alternative HTML version deleted]]
Hi Jin.> I found there is someone meet same problem when he build R-2.7.0 by searching r-help, and he used a patch to resolve this issue. The patch??s location is http://prs.ism.ac.jp/~nakama/AIX/changefiles. But I can not find a patch R-2.8.1 in this path. >Gnu patch is necessary.(AIX patch can't be used.) http://prs.ism.ac.jp/~nakama/AIX/AIX_R-2.8.1.patch However, this patch is not tried at all. -- EI-JI Nakama <nakama (a) ki.rim.or.jp> "\u4e2d\u9593\u6804\u6cbb" <nakama (a) ki.rim.or.jp>
Thanks for Ej-ji's help. I have succesfully built R-2.8.1 on AIX,but I also found a problem in my build process-- the 783 line on patch file should be combined with 782 line. Thanks for Ei-ji again. Jin> Date: Thu, 19 Feb 2009 09:39:26 +0000 > From: ripley@stats.ox.ac.uk > To: nakama@ki.rim.or.jp > CC: dna_jin@hotmail.com > Subject: Re: [R] Build R-2.8.1 on AIX5.3 > > If you do test it, please let me know and I will merge it into the R > sources. > > Can we discuss such issues on R-devel, please (see the posting guide). > Most of the developers do not read R-help (at all, or in any detail). > > On Thu, 19 Feb 2009, Ei-ji Nakama wrote: > > > Hi Jin. > > > >> I found there is someone meet same problem when he build R-2.7.0 by searching r-help, and he used a patch to resolve this issue. The patch¡¯s location is http://prs.ism.ac.jp/~nakama/AIX/changefiles. But I can not find a patch R-2.8.1 in this path. > >> > > > > Gnu patch is necessary.(AIX patch can't be used.) > > > > http://prs.ism.ac.jp/~nakama/AIX/AIX_R-2.8.1.patch > > > > However, this patch is not tried at all. > > -- > > EI-JI Nakama <nakama (a) ki.rim.or.jp> > > "\u4e2d\u9593\u6804\u6cbb" <nakama (a) ki.rim.or.jp> > > > > ______________________________________________ > > R-help@r-project.org 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@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_________________________________________________________________ 新版手机MSN,满足你多彩需求!参加抢鲜体验活动,领取特色奖品! http://mobile.msn.com.cn/ [[alternative HTML version deleted]]