From Christophe.Jean at uv.es  Mon Feb 12 13:24:00 2007
From: Christophe.Jean at uv.es (Christophe.Jean at uv.es)
Date: Mon, 12 Feb 2007 13:24:00 +0100 (CET)
Subject: [Rd] dyn.load (PR#9364)
Message-ID: <20070212122400.B2F335A99F@slim.kubism.ku.dk>

Hi,

I have exactly the same problem with R 2.4.1 on an Intel MacBook with  
Mac OS X 10.4.8.

Please find below the output of the test.

Christophe
---
 > source("/Users/Christophe/Desktop/Rdynunload/run.R")
WARNING: ignoring environment value of R_HOME
gcc-4.0 -arch i386 -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  - 
msse3  -D__NO_MATH_INLINES  -fPIC  -g -O2 -std=gnu99 -march=nocona -c  
code.c -o code.o
gcc-4.0 -arch i386 -dynamiclib -Wl,-macosx_version_min -Wl,10.3 - 
undefined dynamic_lookup -single_module -multiply_defined suppress -L/ 
usr/local/lib -o foo.so code.o   -L/Library/Frameworks/R.framework/ 
Resources/lib/i386 -lR -dylib_file libRblas.dylib:/Library/Frameworks/ 
R.framework/Resources/lib/i386/libRblas.dylib
[1] "Failed"
loaded DLL/SO
WARNING: ignoring environment value of R_HOME
gcc-4.0 -arch i386 -I/Library/Frameworks/R.framework/Resources/ 
include -I/Library/Frameworks/R.framework/Resources/include/i386  - 
msse3  -D__NO_MATH_INLINES  -fPIC  -g -O2 -std=gnu99 -march=nocona -c  
other.c -o other.o
gcc-4.0 -arch i386 -dynamiclib -Wl,-macosx_version_min -Wl,10.3 - 
undefined dynamic_lookup -single_module -multiply_defined suppress -L/ 
usr/local/lib -o foo.so other.o   -L/Library/Frameworks/R.framework/ 
Resources/lib/i386 -lR -dylib_file libRblas.dylib:/Library/Frameworks/ 
R.framework/Resources/lib/i386/libRblas.dylib
first attempt
loaded DLL/SO
first attempt
---



[Rd] dyn.load (PR#9364)
Christophe.Jean at uv.es