[ncl-install] libpng14.so.14: cannot open shared object file: No such file or directory

ramit at prl.res.in ramit at prl.res.in
Mon Nov 29 05:57:43 MST 2010


Hi,
I am trying to install ncarg version 5.1.1 on a 86X64 fedora 12 machine.
After installation while checking installation I am getting the following
error message,

[ambastha at helios bin]$ ncargex cpex08 -clean

NCAR Graphics Fortran  Example <cpex08>

  Copying cpex08.f

  Copying cpexcc.f

Compiling and linking...
gfortran -fPIC -fno-second-underscore -fno-range-check -o cpex08 cpexcc.f
cpex08.f -L/home/ambastha/ncl1/lib -lncarg -lncarg_gks -lncarg_c -lX11
-lXext -L/usr/local/lib -lpng -lz

Executing <cpex08>...
././cpex08: error while loading shared libraries: libpng14.so.14: cannot
open shared object file: No such file or directory

Metafile file is named cpex08.ncgm.

locate libcrypto gives me the following output
/usr/lib64/.libcrypto.so.0.9.8n.hmac
/usr/lib64/.libcrypto.so.8.hmac
/usr/lib64/libcrypto.so.0.9.8n
/usr/lib64/libcrypto.so.8

and locate libpng gives
/usr/lib64/libpng.so.3
/usr/lib64/libpng.so.3.43.0
/usr/lib64/libpng12.so.0
/usr/lib64/libpng12.so.0.43.0
/usr/lib64/compiz/libpng.so
/usr/lib64/gthumb/modules/libpngexporter.so
/usr/share/doc/libpng-1.2.43
/usr/share/doc/libpng-1.2.43/CHANGES
/usr/share/doc/libpng-1.2.43/CMakeLists.txt
/usr/share/doc/libpng-1.2.43/LICENSE
/usr/share/doc/libpng-1.2.43/README
/usr/share/doc/libpng-1.2.43/TODO
/usr/share/doc/libpng-1.2.43/example.c
/usr/share/doc/libpng-1.2.43/libpng-1.2.43.txt
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64/checksum_data
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64/checksum_type
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64/from_repo
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64/from_repo_revision
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64/from_repo_timestamp
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64/reason
/var/lib/yum/yumdb/l/bf7aad5683037406af9a015112e78be2762ec460-libpng-1.2.43-1.fc11-x86_64/releasever

whereas libpng14.so.14 is in /usr/local/lib. I tried to change path in
ncargf7, ncargf90 and ncargcc to include both lib64 and /usr/local/lib but
the same problem is repeating. Can any one help me out with this?

thanks

ramit





More information about the ncl-install mailing list