Install imager package in Ubuntu with fftw
Install the last version of fftw to have full possibilities of imager package: Go directly at the end of that post to have the solution ! Check the last version of fftw here http://www.fftw.org wget http://www.fftw.org/fftw-3.3.10.tar.gz tar -xf fftw-3.3.10.tar.gz cd fftw-3.3.10 ./configure make sudo make install cd .. rm fftw-3.3.10.tar.gz rm -r fftw-3.3.10 then in R install.packages("imager") It fails with imager 1.0.1 with the following error : g++ -std=gnu++11 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -o imager.so RcppExports.o colourspace.o coordinates.o display.o drawing.o filtering.o hough.o imgraphs.o interact.o interpolation.o morphology.o reductions.o transformations.o utils.o wrappers.o -fopenmp -lX11 -Dcimg_use_fftw3 -L/usr/local/lib -lfftw3 -ltiff -L/usr/lib/R/lib -lR /usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): warning: relocation against `stdout@@GLIBC_2.2.5' in read-only section `.text'...