[R-SIG-Mac] libtool issue with shlib for R; very latest R-devel on ppc 10.4.7
roger koenker
rkoenker at uiuc.edu
Tue Aug 15 15:15:15 CEST 2006
My optimistic take on this now appears somewhat premature. While it is
true that R-devel built using xcode 2.4 I'm still having trouble making
some packages from source, e.g. Matrix and quantreg, The former
dies after considerable compilation effort:
ld: warning can't open dynamic library: libR.dylib referenced from: /
Library/Frameworks/R.framework/Resources/lib/libRlapack.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: Undefined symbols:
_xerbla_ referenced from libRlapack expected to be defined in libR.dylib
/usr/bin/libtool: internal link edit command failed
make: *** [Matrix.so] Error 1
ERROR: compilation failed for package 'Matrix'
and the latter (as reported yesterday on the R-devel group) with
many messages about multiply defined symbols.
Any suggestions would be very welcome.
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
On Aug 13, 2006, at 8:35 AM, roger koenker wrote:
> Vince,
>
> I had the same problem yesterday. After upgrading xcode to v2.4,
> as suggested by Brian and Simon on the R-devel group,
> the usual ./configure and make work fine. For the record I was
> v2.0 of xcode prior to the upgrade.
>
>
> url: www.econ.uiuc.edu/~roger Roger Koenker
> email rkoenker at uiuc.edu Department of
> Economics
> vox: 217-333-4558 University of Illinois
> fax: 217-244-6678 Champaign, IL 61820
>
>
> On Aug 12, 2006, at 8:23 PM, Vincent Carey 525-2265 wrote:
>
>>
>>
>> I am trying to build R-devel from source on a mac ppc G4
>>
>> %vjc> uname -a
>> Darwin vincent-careys-powerbook-g4-12.local 8.7.0 Darwin Kernel
>> Version 8.7.0: Fri May 26 15:20:53 PDT 2006;
>> root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc
>>
>> OSX version is 10.4.7
>>
>> a previous version built with following sessioninfo
>>
>> R version 2.4.0 Under development (unstable) (2006-07-16 r38625)
>> powerpc-apple-darwin8.7.0
>>
>> locale:
>> C
>>
>> now:
>>
>> %vjc> svn up
>> At revision 38860.
>>
>> i do configure --enable-R-shlib --enable-BLAS-shlib=no --with-tcltk
>>
>> then it fails at
>>
>>
>> gcc -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -undefined
>> dynamic_lookup -single_module -multiply_defined suppress -L/usr/
>> local/lib -install_name libR.dylib -compatibility_version 2.4.0 -
>> current_version 2.4.0 -headerpad_max_install_names -o libR.dylib
>> CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
>> arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o
>> character.o coerce.o colors.o complex.o connections.o context.o
>> cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o
>> dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o
>> format.o fourier.o gevents.o gram.o gram-ex.o graphics.o
>> identical.o internet.o iosupport.o lapack.o list.o localecharset.o
>> logic.o main.o mapply.o match.o memory.o model.o names.o objects.o
>> optim.o optimize.o options.o par.o paste.o pcre.o platform.o plot.o
>> plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o
>> qsort.o random.o regex.o registration.o relop.o rlocale.o
>> saveload.o scan.o seq.o s!
>> erialize.o size.o sort.o source.o split.o sprintf.o startup.o
>> subassign.o subscript.o subset.o summary.o sysutils.o unique.o
>> util.o version.o vfonts.o xxxpr.o `ls ../appl/*.o ../nmath/*.o ../
>> unix/*.o 2>/dev/null|grep -v /ext-` -L/usr/local/lib/gcc/powerpc-
>> apple-darwin6.8/3.4.2 -lg2c -lSystem ../extra/zlib/libz.a ../extra/
>> bzip2/libbz2.a ../extra/pcre/libpcre.a ../extra/intl/libintl.a -
>> Wl,-framework -Wl,CoreFoundation -lreadline -lcc_dynamic -lm -liconv
>> /usr/bin/libtool: unknown option character `m' in: -
>> macosx_version_min
>> Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile
>> [,dirname]] [-arch_only arch] [-sacLT]
>>
>> presumably i can get a build without --enable-R-shlib ...
>>
>> any suggestions appreciated
>> vince
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list