[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 11:31:56 -0600
Sudheer,
> It appeared to be one issue but Now I get
> below error, Is there any experience about this error or is there a
> solution??
No, I've never seen that error before. The "nc__testurl" function is declared
and compiled in the libdap2/ subdirectory, which is for an internal "libdap2"
library used to provide OPeNDAP client support. You could probably get around
this problem if you don't need the remote access provided by OPeNDAP support
by running "make distclean" and then configuring with "--disable-dap", but you
probably want OPeNDAP support. I'm Cc:ing this to Dennis, the opendap
developer,
who may have an idea why this isn't working on AIX in version 4.1.3 and whether
you should try the current development snapshot instead.
--Russ
> source='indent.c' object='indent.o' libtool=no DEPDIR=.deps
> depmode=aix /bin/sh ../depcomp xlc -DHAVE_CONFIG_H -I. -I.. -I../fortran
> -I../include -I../oc -I/gpfs1/sjo/pkgs/local/include -q64 -c -o indent.o
> indent.c
> source='nctime.c' object='nctime.o' libtool=no DEPDIR=.deps
> depmode=aix /bin/sh ../depcomp xlc -DHAVE_CONFIG_H -I. -I.. -I../fortran
> -I../include -I../oc -I/gpfs1/sjo/pkgs/local/include -q64 -c -o nctime.o
> nctime.c
> source='utils.c' object='utils.o' libtool=no DEPDIR=.deps
> depmode=aix /bin/sh ../depcomp xlc -DHAVE_CONFIG_H -I. -I.. -I../fortran
> -I../include -I../oc -I/gpfs1/sjo/pkgs/local/include -q64 -c -o utils.o
> utils.c
> /bin/sh ../libtool --tag=CC --mode=link xlc -q64
> -L/gpfs1/sjo/pkgs/local/lib -o ncdump ncdump.o vardata.o dumplib.o indent.o
> nctime.o utils.o ../liblib/libnetcdf.la -lhdf5_hl -lhdf5 -lm -lz -lcurl
> libtool: link: xlc -q64 -o .libs/ncdump ncdump.o vardata.o dumplib.o
> indent.o nctime.o utils.o -L/gpfs1/sjo/pkgs/local/lib -L../liblib/.libs
> -lnetcdf /gpfs1/sjo/pkgs/local/lib/libhdf5_hl.a
> /gpfs1/sjo/pkgs/local/lib/libhdf5.a -lm -lcurl -lssl -lcrypto -lz
> -Wl,-blibpath:/gpfs1/sjo/pkgs/local/lib:/gpfs1/sjo/pkgs/local/lib:/usr/vac/lib:/usr/lib:/lib
> ld: 0711-317 ERROR: Undefined symbol: .nc__testurl
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make: 1254-004 The error code from the last command is 8.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
>
> address@hidden> wrote:
>
> > 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
> >
> >
>
>
> --
> 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