Greetings, I'm puzzled about this build error. Basically the problem is that it's trying to link to a dynamic library "libRblas.dylib" that is clearly in the right place (/opt/local/lib/R/lib/libRblas.dylib) and whose directory is explicitly specified with -L. (LD_LIBRARY_PATH didn't help either.)
I do realize that the instructions ask for some hardcoding of the path to the R library, but shouldn't the -L allow us to link properly? JDO movenpick 512$ python setup.py install RHOMES= [] Setting RHOMES to ['/opt/local/lib/R'] ### Using R verion 2.5.0 installed at /opt/local/lib/R ### RHOME= /opt/local/lib/R copying src/rpymodule.c -> src/rpymodule2050.c copying src/R_eval.c -> src/R_eval2050.c copying src/io.c -> src/io2050.c running install running build running build_py running build_ext building '_rpy2050' extension creating build/temp.darwin-8.9.0-Power_Macintosh-2.4 creating build/temp.darwin-8.9.0-Power_Macintosh-2.4/src /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC -DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2 -I/opt/local/lib/R/include -Isrc -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/rpymodule2050.c -o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/rpymodule2050.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC -DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2 -I/opt/local/lib/R/include -Isrc -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/R_eval2050.c -o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/R_eval2050.o /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Numeric/arrayobject.h:313: warning: 'PyArray_API' defined but not used /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC -DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2 -I/opt/local/lib/R/include -Isrc -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/io2050.c -o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/io2050.o src/io2050.c: In function 'RPy_ReadConsole': src/io2050.c:131: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness src/io2050.c: At top level: /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Numeric/arrayobject.h:313: warning: 'PyArray_API' defined but not used /usr/bin/gcc-4.0 -bundle -undefined dynamic_lookup build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/rpymodule2050.o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/R_eval2050.o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/io2050.o -L/opt/local/lib/R/bin -L/opt/local/lib/R/lib -L/opt/local/lib/R/bin -L/opt/local/lib/R/lib -lR -o build/lib.darwin-8.9.0-Power_Macintosh-2.4/_rpy2050.so /usr/bin/ld: warning can't open dynamic library: libRblas.dylib referenced from: /opt/local/lib/R/lib/libR.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: Undefined symbols: _dgemm_ referenced from libR expected to be defined in libRblas.dylib _dsyrk_ referenced from libR expected to be defined in libRblas.dylib _zgemm_ referenced from libR expected to be defined in libRblas.dylib _dcopy_ referenced from libR expected to be defined in libRblas.dylib _dtrsm_ referenced from libR expected to be defined in libRblas.dylib _daxpy_ referenced from libR expected to be defined in libRblas.dylib _dswap_ referenced from libR expected to be defined in libRblas.dylib _ddot_ referenced from libR expected to be defined in libRblas.dylib _dasum_ referenced from libR expected to be defined in libRblas.dylib _dscal_ referenced from libR expected to be defined in libRblas.dylib _dnrm2_ referenced from libR expected to be defined in libRblas.dylib _drot_ referenced from libR expected to be defined in libRblas.dylib _drotg_ referenced from libR expected to be defined in libRblas.dylib collect2: ld returned 1 exit status error: command '/usr/bin/gcc-4.0' failed with exit status 1 movenpick 543$ file /opt/local/lib/R/lib/libRblas.dylib /opt/local/lib/R/lib/libRblas.dylib: Mach-O dynamically linked shared library ppc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list