[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #UCO-606914]: Error in install netcdf



Hi Sachin,

> I have try to install WRF model. My Operating system is AIX-5.3.I have
> also install hdf5-1.8.8 and zlib-1.2.5. This my directories when i have
> install these software
> 
> /gpfs1/home/sachin/wrf/hdf5-1.8.8/hdf5-1.8.8 &
> /gpfs1/home/sachin/wrf/zlib-1.2.5/zlib-1.2.5
> 
> Now i have try to installation of netcdf-4.2 but there is coming these
> blow errors:- I have run the command #make check install
> 
> libtool: link: xlc -g -o .libs/tst_rename tst_rename.o  -L../liblib/.libs
> -lnetcdf -lm
> -Wl,-blibpath:/gpfs1/home/sachin/wrf/lib:/usr/vac/lib:/usr/lib:/lib
> make  check-TESTS
> exec(): 0509-036 Cannot load program
> /gpfs1/home/sachin/wrf/netcdf-4.2/nctest/.libs/lt-nctest because of the
> following errors:
> 0509-150   Dependent module
> /usr/local/lib/libnetcdf.a(libnetcdf.so.7) could not be loaded.
> 0509-152   Member libnetcdf.so.7 is not found in archive
> FAIL: nctest
> exec(): 0509-036 Cannot load program
> /gpfs1/home/sachin/wrf/netcdf-4.2/nctest/.libs/lt-tst_rename because of the
> following errors:
> 0509-150   Dependent module
> /usr/local/lib/libnetcdf.a(libnetcdf.so.7) could not be loaded.
> 0509-152   Member libnetcdf.so.7 is not found in archive
> FAIL: tst_rename
> cmp: 0653-023 Cannot find or open nctest_classic.nc.
> FAIL: compare_test_files.sh
> ================================================
> 3 of 3 tests failed
> Please report to address@hidden
> ================================================

I suspect this problem is due to running "make check" as root.  It's OK
to run "make install" as root (or using "sudo"(, after "make check" has 
been run, but when "make check" tries to link as root, there are different
rules for linking to libraries in paths not configured in the system, due
to security concerns.

Try starting over from the configure step as a regular user (you may have to 
run "make clean" first as root).  Once that succeeds, you should be able to 
run "make install" as root.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: UCO-606914
Department: Support netCDF
Priority: Normal
Status: Closed