Skip to content

rimage package broken with fedora upgrade

3 messages · John Kornak, Oleg Sklyar, Jonathan Baron

#
Dear R list members

I would be grateful if anyone could guide me to a solution for fixing my 
rimage package problem described below.

I recently upgraded my machine from fedora core 3 to fedora core 6 and 
then upgraded R from version 2.3.1 from version 2.4.1.

I then fired up R, tried to load the rimage library and received the 
following messages:

  > library(rimage)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
         unable to load shared library 
'/usr/lib/R/library/rimage/libs/rimage.so':
   /usr/lib/R/library/rimage/libs/rimage.so: cannot restore segment prot 
after reloc: Permission denied
Error in library(rimage) : .First.lib failed for 'rimage'
 >

I tried removing and re-installing rimage. The install seemed to go well 
but I received the identical error messages upon loading. (I provide the 
output from the package re-install at the very end of this email in case 
it is useful.)

I am running R version 2.4.1 and fc6 on a dual boot (with XP) Pentium 4 
Dell Dimension 8250. I have both fftw-2.1.5 and fftw-3.1.2 on my machine 
within /usr/local and .

rimage was working fine on the same machine before I upgraded from R 
2.3.1 and fc3.

I searched online but was unable to find any relevant posts.

Thanks again

John
#
Responding to the original post, which I did not save.
I had the same problem, but, unfortunately, a slightly different error 
message.  My error message said:
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
        unable to load shared library
'/usr/lib/R/library/rimage/libs/rimage.so':
  libfftw.so.2: cannot open shared object file: No such file or
directory
Error in library(rimage) : .First.lib failed for 'rimage'

So I took the hint and said

yum install libfftw.so.2

and this installed libfftw,
which cured the problem.

But you did not get this error message about libfftw.

Jon