[R-SIG-Mac] ld: can't locate file for: -lcc_dynamic error after update to OS 10.4

Ingmar Visser i.visser at uva.nl
Mon Feb 27 23:42:33 CET 2006

After updating to 10.4.5 and reinstalling the corresponding developer tools
(from the install dvd) I get the following error when compiling packages
containing c-code (it happens with several packages, among them MNP from
which the error below resulted).

The compilation does the following:
** libs
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include
-I/usr/local/include   -fno-common  -g -O2 -c MNP.c -o MNP.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include
-I/usr/local/include   -fno-common  -g -O2 -c rand.c -o rand.o
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include
-I/usr/local/include   -fno-common  -g -O2 -c subroutines.c -o subroutines.o

The downloaded packages are in
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include
-I/usr/local/include   -fno-common  -g -O2 -c vector.c -o vector.o
gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o
MNP.so MNP.o rand.o subroutines.o vector.o  -framework vecLib
-L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 -lg2c -lSystem
-lcc_dynamic -F/Library/Frameworks/R.framework/.. -framework R

and then halts with:

** Removing '/Users/ivisser/Library/R/library/MNP'
ld: can't locate file for: -lcc_dynamic
make: *** [MNP.so] Error 1
ERROR: compilation failed for package 'MNP'

Can anyone tell me what lcc_dynamic does and how I can obtain it/install it?

best, ingmar

i.visser at uva.nl

Ingmar Visser
Department of Psychology, University of Amsterdam
Roetersstraat 15, 1018 WB Amsterdam
The Netherlands
tel: +31-20-5256735

More information about the R-SIG-Mac mailing list