[R-SIG-Mac] R CMD SHLIB problem
Rob J Goedman
goedman at mac.com
Thu May 5 19:13:16 CEST 2005
Hi Kjell,
On Tiger, to compile source packages, there are some extra steps
you'll have to take.
These are described on Simon's Wiki: http://wiki.urbanek.info/
Go to the TigeR page on the Wiki and follow the first 2 sections.
Below the versions of Makeconf and SHLIB I'm using.
Let me know if this works,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makeconf
Type: application/octet-stream
Size: 3061 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20050505/a49f45e3/Makeconf-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SHLIB.sh
Type: application/octet-stream
Size: 2838 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20050505/a49f45e3/SHLIB-0001.obj
-------------- next part --------------
On May 5, 2005, at 9:54 AM, Kjell Konis wrote:
> I am getting an error when I try to compile some C code in one of
> my projects. I just upgraded my mini to Tiger and I installed R
> 2.1.0 (with all the gui goodness) from the dmg on CRAN. The
> installation seems to have created a link /usr/bin/R that points
> somewhere in the bowels of the R framework. Anyway, when I use R
> CMD SHLIB in the terminal I get the following error:
>
> [macaw] src> R CMD SHLIB convex.c
> gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/
> include -I/usr/local/include -fno-common -g -O2 -c convex.c -o
> convex.o
> gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o
> convex.so convex.o -lcc_dynamic -framework R
> /usr/bin/ld: can't locate file for: -lcc_dynamic
> collect2: ld returned 1 exit status
> make: *** [convex.so] Error 1
>
> Kjell
>
> _______________________________________________
> 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