lunes, 1 de abril de 2013

Undefined symbols for architecture i386; error compiling RHipe in Mac


from:
https://groups.google.com/group/rhipe/tree/browse_frm/month/2012-11/a9520599c04e2210?rnum=11&lnk=nl


Installing RHipe with R CMD INSTALL Rhipe_0.71.tar.gz in a Mac I got the following error:

ld: warning: ignoring file 
/usr/local/Cellar/protobuf/2.4.1/lib/libprotobuf.dylib, file was built for 
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 
0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked 
(i386): /usr/local/Cellar/protobuf/2.4.1/lib/libprotobuf.dylib 
Undefined symbols for architecture i386: 


turned out I had to type R CMD INSTALL  --no-multiarch Rhipe_0.71.tar.gz

and everything worked.

No hay comentarios:

Publicar un comentario