[Rd] problem in downloading the rimage package

Simon Urbanek simon.urbanek at r-project.org
Sat Nov 15 02:33:45 CET 2008


On Nov 14, 2008, at 5:53 PM, Shantanu D wrote:

> I am using a 64 bit machine with CentOS5. I am getting the following  
> errors
> when I try to install the rimage package
>
> g++ -shared -L/usr/local/lib64 -o rimage.so equalize.o  
> fftw_access_func.o
> freqfilters.o interface.o jpegio.o laplacian.o matrix.o smooth.o  
> sobel.o
> -ljpeg -lfftw
> /usr/bin/ld: /usr/local/lib/libfftw.a(fftwnd.o): relocation  
> R_X86_64_32
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/lib/libfftw.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [rimage.so] Error 1
> chmod: cannot access `/home/shantanu/R/rimage/libs/*': No such file or
> directory
> ERROR: compilation failed for package 'rimage'
>
>
> Any help would be appreciated. Could not find anything with google  
> search.
>

It helps to read the error, because that tells you all you need to  
know - you have to recompile libfftw with -fPIC (or use dynamic  
library instead of static one).

Cheers,
S



More information about the R-devel mailing list