[R-SIG-Mac] LogicReg package problems

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Mon Jan 16 15:16:24 CET 2012


On Mon, Jan 16, 2012 at 2:57 AM, BEES INC <bees.inc at gmail.com> wrote:
> Hey there
>
> I am having a bit of trouble getting this working, I had to do a bit
> of fiddling with makefiles to get it to find the right gfortran, but
> it builds & links without error, however the install gives the
> following error:

You have used some special (?) gfortran at compile time (based on the
above, but I am not sure).  This may not work with R that has been
compiled with another gfortran and it might also not work at run time.

We really need more information about exactly what you have done.

Kasper


>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  unable to load shared object
> '/Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg/libs/i386/LogicReg.so':
>  dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg/libs/i386/LogicReg.so,
> 6): no suitable image found.  Did find:
>        /Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg/libs/i386/LogicReg.so:
> out of address space
>
> Full install is as follows:
>
> $ R CMD INSTALL --no-multiarch LogicReg_1.4.11.tar.gz
> * installing to library
> ‘/Library/Frameworks/R.framework/Versions/2.14/Resources/library’
> * installing *source* package ‘LogicReg’ ...
> ** package ‘LogicReg’ successfully unpacked and MD5 sums checked
> ** Creating default NAMESPACE file
> ** libs
> *** arch - i386
> gfortran   -fPIC  -g -O2 -c My_own_scoring.f -o My_own_scoring.o
> gfortran   -fPIC  -g -O2 -c external.f -o external.o
> gfortran   -fPIC  -g -O2 -c slogic.f -o slogic.o
> gcc-4.2 -arch i386 -std=gnu99
> -I/Library/Frameworks/R.framework/Resources/include
> -I/Library/Frameworks/R.framework/Resources/include/i386
> -I/usr/local/include    -fPIC  -g -O2 -c swrite.c -o swrite.o
> gcc-4.2 -arch i386 -std=gnu99 -dynamiclib
> -Wl,-headerpad_max_install_names -single_module -multiply_defined
> suppress -L/usr/local/lib
> -L/usr/local/gfortran/lib/gcc/i686-apple-darwin9/4.6.2 -o LogicReg.so
> My_own_scoring.o external.o slogic.o swrite.o -lgfortran
> -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
> -Wl,CoreFoundation
> installing to /Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg/libs/i386
> ** R
> ** data
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> ** testing if installed package can be loaded
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  unable to load shared object
> '/Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg/libs/i386/LogicReg.so':
>  dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg/libs/i386/LogicReg.so,
> 6): no suitable image found.  Did find:
>        /Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg/libs/i386/LogicReg.so:
> out of address space
> Error: loading failed
> Execution halted
> ERROR: loading failed
> * removing ‘/Library/Frameworks/R.framework/Versions/2.14/Resources/library/LogicReg’
> $
>
> Any ideas?
>
> Thanks
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list