libpng14.so.14: cannot open shared object file: No such file or directory

From: <ramit_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 29 2010 - 05:57:43 MST

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@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

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Mon Nov 29 06:02:35 2010

This archive was generated by hypermail 2.1.8 : Tue Nov 30 2010 - 08:00:31 MST