From ripley at stats.ox.ac.uk  Sat Nov 15 03:18:33 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sat, 15 Nov 2008 02:18:33 +0000 (GMT)
Subject: [Rd] problem in downloading the rimage package
In-Reply-To: <4e835e290811141453y5cf0016dp91cc99c8fb45a144@mail.gmail.com>
References: <4e835e290811141453y5cf0016dp91cc99c8fb45a144@mail.gmail.com>
Message-ID: <alpine.LFD.2.00.0811150214450.22577@gannet.stats.ox.ac.uk>

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



[Rd] problem in downloading the rimage package
Prof Brian Ripley