An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20081114/84972faf/attachment.pl>
problem in downloading the rimage package
3 messages · Shantanu D, Simon Urbanek, Brian Ripley
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
On Fri, 14 Nov 2008, 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
/usr/local/lib/libfftw.a: is where a 32-bit static library is placed. This looks like a 64-bit system, in which case you need a dynamic library, /usr/local/lib64/libfftw.so. This is nothing to do with your subject line (what did 'downloading' have to do with this?), but reflects a problem with a local software install on your machine. Only you can explain how fftw2 got installed as it did.
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. [[alternative HTML version deleted]]
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595