[Rd] source bug ? (PR#7929)

mendes150@gmail.com mendes150 at gmail.com
Fri Jun 10 18:41:35 CEST 2005

hello bug fixers

i think this bug is probably mentioned before but i couldn't find the
answer to it on google.
i have to build R from the source files ( on a mac os x system )
because i need the python R interface too work. for this too happen r
needs to be configured in the following way

./configure --enable-R-shlib

when i do this on the newest package i get already some problems but
these can be handled by the inactivation of the following:
--with-readline=no --with-x=no

now i go on with building R with sudo make:
the following errors are mentioned:

make[4]: *** [libRlapack.dylib] Error 1
make[3]: *** [R] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1

it seems that it fails on the following code:

gcc -dynamiclib -L/sw/lib -L/usr/local/lib -install_name
-o libRlapack.dylib dlamc.lo dlapack0.lo dlapack1.lo dlapack2.lo
dlapack3.lo cmplx.lo  cmplxblas.lo  -L/sw/lib -L/usr/local/lib
-L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2/../../.. -lfrtbegin
-lg2c -lSystem

ld: common symbols not allowed with MH_DYLIB output format with the
-multi_module option
/usr/local/lib/libg2c.a(err.o) definition of common _f__cblank (size 4)
/usr/local/lib/libg2c.a(fmt.o) definition of common _f__cnt (size 40)
/usr/local/lib/libg2c.a(fmt.o) definition of common f(char,  *) (size 4)
/usr/local/lib/libg2c.a(err.o) definition of common f(char, long *,
short __restrict) (/usr/bin/libtool: internal link edit command failed

together with a teacher of me i tried too resolve the problem by
making some changes in the configure file unfortunate we couldnt
resolve it our selves.

if you have any idea how to fix this problem, can you send it to me 

thanks in advance

richard mendes

ps: building R from the binaries works just fine ( only not in
combination with rpy )

More information about the R-devel mailing list