[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #EFL-527269]: (No Subject)
- Subject: [netCDF #EFL-527269]: (No Subject)
- Date: Tue, 13 Aug 2013 08:22:50 -0600
Hi Tracy,
Don't run the configure script using "sudo". As a security precaution, shells
run under sudo don't inherit all the parent shell's environment variables, and
they specifically don't inherit the "LD_LIBRARY_PATH" setting.
Unpack the netCDF distribution as a normal user and run everything except
"make install" as a normal user.
--Russ
> i have tried the solution on unidata, but it doesn't work.
>
> i want to install netcdf with ifort, heres what i done.
>
> export CC=/opt/intel/bin/icc
> export CXX=/opt/intel/bin/icpc
> export F77=/opt/intel/bin/ifort
> export FC=/opt/intel/bin/ifort
> export F90=/opt/intel/bin/ifort
> export LD_LIBRARY_PATH=/opt/intel/lib/intel64
>
> sudo ./configure --prefix=/opt/netcdf
> sudo make check
>
>
> and i get the error message:
>
> *** Testing creating file with fill values.
> *** SUCCESS!
> PASS: create_fills.sh
> /home/tracy/Downloads/netcdf-4.1.2/nf_test/.libs/lt-nf_test: error while
> loading shared libraries: libifport.so.5: cannot open shared object file: No
> such file or directory
> FAIL: nf_test
> /home/tracy/Downloads/netcdf-4.1.2/nf_test/.libs/lt-tst_f77_v2: error while
> loading shared libraries: libifport.so.5: cannot open shared object file: No
> such file or directory
> FAIL: tst_f77_v2
> /home/tracy/Downloads/netcdf-4.1.2/nf_test/.libs/lt-ftest: error while
> loading shared libraries: libifport.so.5: cannot open shared object file: No
> such file or directory
> FAIL: ftest
> /home/tracy/Downloads/netcdf-4.1.2/nf_test/.libs/lt-tst_f90: error while
> loading shared libraries: libifport.so.5: cannot open shared object file: No
> such file or directory
> FAIL: tst_f90
> ================================================
> 4 of 5 tests failed
> Please report to address@hidden
> ================================================
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory `/home/tracy/Downloads/netcdf-4.1.2/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/home/tracy/Downloads/netcdf-4.1.2/nf_test'
> make: *** [check-recursive] Error 1
>
>
> libifport.so.5 is under /opt/intel/lib/intel64
> i have already export the LD_LIBRARY_PATH .
>
> do i miss anything? or is there any environment variable i do not set up?
> please help
>
> thank you in advance!
>
>
> Tracy
>
>
>
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: EFL-527269
Department: Support netCDF
Priority: Normal
Status: Closed