[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #AQK-466372]: NETCDF-4.1.3 build error
- Subject: [netCDF #AQK-466372]: NETCDF-4.1.3 build error
- Date: Fri, 30 Sep 2011 09:06:38 -0600
Hi Sudheer,
> I am trying to compile netcdf 4.1.3 on IBM power6 machine with AIX5.3
> on it with following configure options. I compiled all the programs
> with below env settings. But gets below error with an advice to contact
> support.
>
> Can any one please advice me on how to compile the code with out the
> errors?
>
>
> export OBJJECT_MODE=64
It may be that your libraries such as zlib and curl are 64-bit mode, but
your netCDF compilations were 32-bit mode becasue of a typo in the above
environment variable, which should instead be
export OBJECT_MODE=64
--Russ
> export FCFLAGS=-qsuffix=f=f90
> export F90FLAGS=-q64
> export NMFLAGS=-X64
> export CFLAGS=-q64
> export CXXFLAGS=-q64
> export FFLAGS=-q64
> export CC=xlc
> export CXX=xlc++
>
>
> netcdf config options used
>
> CPPFLAGS=-I/gpfs1/sjo/pkgs/local/include LDFLAGS=-L/gpfs1/sjo/pkgs/local/lib
> ./configure --prefix=/gpfs1/sjo/pkgs/local --enable-shared CC=xlc
> LIBS='-L/gpfs1/sjo/pkgs/local/lib -lcurl -lssl -lcrypto -lz'
>
>
> make[2]: Leaving directory `/gpfs1/sjo/pkgs/netcdf-4.1.3/nctest'
> make check-TESTS
> make[2]: Entering directory `/gpfs1/sjo/pkgs/netcdf-4.1.3/nctest'
> exec(): 0509-036 Cannot load program
> /gpfs1/sjo/pkgs/netcdf-4.1.3/nctest/.libs/lt-nctest because of the following
> errors:
> 0509-022 Cannot load module
> /gpfs1/sjo/pkgs/local/lib/libcurl.a(libcurl.so.4).
> 0509-150 Dependent module /gpfs1/sjo/pkgs/local/lib/libz.a(libz.so.1)
> could not be loaded.
> 0509-152 Member libz.so.1 is not found in archive
> 0509-022 Cannot load module lt-nctest.
> 0509-150 Dependent module
> /gpfs1/sjo/pkgs/local/lib/libcurl.a(libcurl.so.4) could not be loaded.
> 0509-022 Cannot load module .
> FAIL: nctest
> exec(): 0509-036 Cannot load program
> /gpfs1/sjo/pkgs/netcdf-4.1.3/nctest/.libs/lt-tst_rename because of the
> following errors:
> 0509-022 Cannot load module
> /gpfs1/sjo/pkgs/local/lib/libcurl.a(libcurl.so.4).
> 0509-150 Dependent module /gpfs1/sjo/pkgs/local/lib/libz.a(libz.so.1)
> could not be loaded.
> 0509-152 Member libz.so.1 is not found in archive
> 0509-022 Cannot load module lt-tst_rename.
> 0509-150 Dependent module
> /gpfs1/sjo/pkgs/local/lib/libcurl.a(libcurl.so.4) could not be loaded.
> 0509-022 Cannot load module .
> 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
> ================================================
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory `/gpfs1/sjo/pkgs/netcdf-4.1.3/nctest'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/gpfs1/sjo/pkgs/netcdf-4.1.3/nctest'
> make: *** [check-recursive] Error 1
>
> MY dependent libraries are as below
>
>
> HDF
> ll /gpfs1/sjo/pkgs/local/lib/libhdf*
> -rw-r--r-- 1 sjo staff 6042196 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5.a
> -rwxr-xr-x 1 sjo staff 882 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5.la
> -rw-r--r-- 1 sjo staff 2509 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5.settings
> -rw-r--r-- 1 sjo staff 2480837 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_cpp.a
> -rwxr-xr-x 1 sjo staff 931 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_cpp.la
> -rw-r--r-- 1 sjo staff 658979 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_fortran.a
> -rwxr-xr-x 1 sjo staff 943 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_fortran.la
> -rw-r--r-- 1 sjo staff 219859 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_hl.a
> -rwxr-xr-x 1 sjo staff 928 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_hl.la
> -rw-r--r-- 1 sjo staff 10817 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_hl_cpp.a
> -rwxr-xr-x 1 sjo staff 1021 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5_hl_cpp.la
> -rw-r--r-- 1 sjo staff 184072 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5hl_fortran.a
> -rwxr-xr-x 1 sjo staff 1034 Sep 30 10:01
> /gpfs1/sjo/pkgs/local/lib/libhdf5hl_fortran.la
>
>
> curl
>
> ll /gpfs1/sjo/pkgs/local/lib/libcur*
> -rwxr-xr-x 1 sjo staff 712060 Sep 30 11:42
> /gpfs1/sjo/pkgs/local/lib/libcurl.a
> -rwxr-xr-x 1 sjo staff 928 Sep 30 11:42
> /gpfs1/sjo/pkgs/local/lib/libcurl.la
> -rwxr-xr-x 1 sjo staff 688171 Sep 30 15:57
> /gpfs1/sjo/pkgs/local/lib/libcurl.so.4
>
>
>
> zlib
> ll /gpfs1/sjo/pkgs/local/lib/libz*
> -rw-r--r-- 1 sjo staff 227664 Sep 30 16:10
> /gpfs1/sjo/pkgs/local/lib/libz.a
> lrwxrwxrwx 1 sjo staff 13 Sep 30 16:10
> /gpfs1/sjo/pkgs/local/lib/libz.so -> libz.so.1.2.5
> lrwxrwxrwx 1 sjo staff 13 Sep 30 16:10
> /gpfs1/sjo/pkgs/local/lib/libz.so.1 -> libz.so.1.2.5
> -rwxr-xr-x 1 sjo staff 178951 Sep 30 16:10
> /gpfs1/sjo/pkgs/local/lib/libz.so.1.2.5
>
> --
> with best regards
>
> Sudheer
>
> **********************************************************************************
> Sudheer Joseph
>
> Scientist
>
> INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS)
> MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA
> "OCEAN VALLEY" PRAGATHI NAGAR (BO)
> OPP.JNTU, NIZAMPET SO
> Andhra Pradesh, India. PIN- 500 090.
> TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
> Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
> E-mail: <address@hidden> address@hidden;
> address@hidden.
> Web- http://oppamthadathil.tripod.com
> --------------* ---------------
> "The ultimate measure of a man is
> not where he stands in moments of
> comfort and convenience, but where
> he stands at times of challenge and
> controversy."
> Martin Luther King, Jr.
> "What we have done for ourselves alone dies with us.
> What we have done for others and the world remains and is immortal."
> - Albert Pines
>
>
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: AQK-466372
Department: Support netCDF
Priority: Normal
Status: Closed