Hello,
I was recently given a new VM server space using RHEL and I'm trying to set up afni on it. I've been able to troubleshoot many errors thanks to the helpful info on this board. However, I have become stuck with this error pertaining to library libpng15.so.15. Below is the output of afni_system_check.py. Any help would be greatly appreciated!
architecture: 64bit ELF
cpu type: x86_64
system: Linux
release: 5.14.0-503.15.1.el9_5.x86_64
version: #1 SMP PREEMPT_DYNAMIC Thu Nov 14 15:45:31 EST 2024
distribution: rhel 9.5 Plow
number of CPUs: 8
apparent login shell: bash
shell RC file: .bashrc (exists)
--------------------- AFNI and related program tests ---------------------
which afni : /home/jcisler/abin/afni
afni version : afni: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
:
AFNI_version.txt : AFNI_24.3.08, linux_centos_7_64, Dec 06 2024, official
which python : /usr/bin/python
python version : 3.9.19
which R : /usr/bin/R
R version : R version 4.4.2 (x86_64-redhat-linux-gnu)
instances of various programs found in PATH:
afni : 1 (/home/jcisler/abin/afni)
R : 1 (/usr/bin/R)
python : 1 (/usr/bin/python3.9)
python2 : 0
python3 : 1 (/usr/bin/python3.9)
testing ability to start various programs...
afni : FAILURE
afni: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
suma : FAILURE
suma: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
3dSkullStrip : FAILURE
3dSkullStrip: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
3dAllineate : FAILURE
3dAllineate: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
3dRSFC : FAILURE
3dRSFC: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
SurfMesh : FAILURE
SurfMesh: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
3dClustSim : FAILURE
3dClustSim: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
uber_subject.py : success
3dMVM : FAILURE
Error in dyn.load(ll) :
unable to load shared object '/home/jcisler/abin/R_io.so':
libpng15.so.15: cannot open shared object file: No such file or directory
Calls: source ... withVisible -> eval -> eval -> set_R_io -> dyn.load
Execution halted
** missing 2 binary libraries across 7 programs
** missing binary library 'libpng15.so.15' in program R_io.so
------------------------ dependent program tests -------------------------
checking for dependent programs...
which tcsh : /usr/local/bin/tcsh
tcsh version : 6.24.10
which Xvfb : /usr/bin/Xvfb
checking for R packages...
rPkgsInstall -pkgs ALL -check : FAILURE
Error in dyn.load(ll) :
unable to load shared object '/home/jcisler/abin/R_io.so':
libpng15.so.15: cannot open shared object file: No such file or directory
Calls: source ... withVisible -> eval -> eval -> set_R_io -> dyn.load
Execution halted
R RHOME : /usr/lib64/R
------------------------------ python libs -------------------------------
++ module loaded: matplotlib.pyplot
module file : /usr/lib64/python3.9/site-packages/matplotlib/pyplot.py
matplotlib version : 3.4.3
++ module loaded: flask
module file : /usr/lib/python3.9/site-packages/flask/init.py
flask version : 2.0.3
** failed to load module flask_cors
-- flask_cors is not required, but is desirable
-------------------------------- env vars --------------------------------
PATH = /home/jcisler/.local/bin:/home/jcisler/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/jcisler/abin
PYTHONPATH =
R_LIBS = /home/jcisler/R
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH =
DYLD_FALLBACK_LIBRARY_PATH =
CONDA_SHLVL =
CONDA_DEFAULT_ENV =
CC =
----------------------------- eval dot files -----------------------------
----------- AFNI $HOME files -----------
.afnirc : found
.sumarc : missing
.afni/help/all_progs.COMP : found
--------- shell startup files ----------
-- good: .tcshrc seems to contain 'source .cshrc'
-- considered operations: path, apsearch
-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)
dot file test : want 1 modifications across 3 files:
file path flatdir apsearch follower
--------------- ---- ------- -------- --------
.cshrc 0 0 1 0
.tcshrc 0 0 0 1
.bashrc 0 0 0 0
------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /home/jcisler/abin
------------------------------ OS specific -------------------------------
which dnf : /usr/bin/dnf
dnf version : 4.14.0
which yum : /usr/bin/yum
yum version : 4.14.0
========================= summary, please fix: =========================
- just be aware: login shell 'bash', but our code examples use 'tcsh'
- AFNI programs show FAILURE
- missing binary library: libpng15.so.15
- missing binary library: libgsl.so.0
- missing R packages (see rPkgsInstall)
- please run: "suma -update_env" for .sumarc
- dot file test : want 1 modifications across 3 files:
- insufficient data for AFNI bootcamp
(see "Prepare for Bootcamp" on install pages)