I am attempting to run RnBeads on my institutions Cluster, and I keep getting stuck at the same step yielding this error:
Loading required package: doParallel
/usr/bin/gs: error while loading shared libraries: libjasper.so.1: cannot open shared object file: No such file or directory
Error in logger.error(em) :
Could not create file. error in running command
Calls: rnb.run.analysis ... tryCatchList -> tryCatchOne -> <Anonymous> -> logger.error
In addition: There were 16 warnings (use warnings() to see them)
It seems that ghostscript (/usr/bin/gs) cannot locate libjasper.so.1, so I checked the linked libraries for gs:
> ldd /usr/bin/gs | grep libjasper
libjasper.so.1 => /usr/lib64/libjasper.so.1 (0x00000034cf200000)
I found libjasper.so.1 in /usr/lib64/ using:
>ls -la | grep libjasper
lrwxrwxrwx 1 root root 18 May 15 12:00 libjasper.so.1 -> libjasper.so.1.0.0
-rwxr-xr-x 1 root root 339672 Jan 22 2015 libjasper.so.1.0.0
It appears that libjasper.so.1 is symbolically linked to libjasper.so.1.0.0. After doing some research I think that libjasper.so.1.0.0 is a newer debugged version of libjasper.so.1.
My question is: why can gs not find libjasper.so.1? Can it somehow not follow the symbolic link to libjasper.so.1.0.0, or could this have to do with the fact that I am not Root and don't have access to this library? If so, why can I access /usr/bin/gs which is also only accessible by root?
Thank you in advance for any insight you can provide me with.