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

[netCDF #XKQ-793167]: netcdf V4.1.3 installation error



> Thanks for the below response!!!
> I am not building the code under source directory i.e. 
> '/gpfs1/home/amit/netcdf-4.1.3'. I created one directory under source 
> directory i.e. '/gpfs1/home/amit/netcdf-4.1.3/netcdf' and using this path 
> using --prefix option for compilation which is different than source 
> directory. So i think there is no collision between source and build 
> directory.

It looks like you may have a previous version 4.0.1 installed in 
/gpfs1/scientific_appln/netcdf/netcdf-4.0.1/lib/.
If that directory is in your LD_LIBRARY_PATH (or whatever AIX uses as an 
environment variable to specify the
search path for shared libraries), please remove it from you path before trying 
to build.  Then "make distclean"
and try again.

If that doesn't work, we'll need more information: the complete output from 
running  ./configure and "make check".

Thanks. 

--Russ

> ----- Original Message -----
> From: "Unidata netCDF Support" <address@hidden>
> To: address@hidden
> Cc: address@hidden
> Sent: Wednesday, March 27, 2013 2:35:16 AM
> Subject: [netCDF #XKQ-793167]: netcdf V4.1.3 installation error
> 
> Hi Amit,
> 
> > I am try to build netcdf V4.1.3 on AIX 5.3, but facing some issues. Please 
> > find the attached config.log file for details. I used below commands to 
> > complie:
> >
> > ./configure --prefix=/gpfs1/home/amit/netcdf-4.1.3/netcdf --disable-netcdf-4
> > make check install
> 
> My guess is that the problem results from using the source directory as the 
> installation
> directory, by specifying --prefix=/gpfs1/home/amit/netcdf-4.1.3/netcdf to 
> configure.  If
> that was your source directory, some of the source files would have been 
> overwritten by
> running "make install".
> 
> As the build instructions say:
> 
> The installation location specified with the --prefix option must be 
> different from
> the source directory where the software is being built.
> 
> We don't have an AIX platform on which to test the software, so can only 
> offer limited
> advice for building on that platform.
> 
> --Russ
> 
> > Error is ab below:
> >
> > ##################################################QUOTE#################################################
> >
> > exec(): 0509-036 Cannot load program 
> > /gpfs1/home/amit/netcdf-4.1.3/nctest/.libs/lt-nctest because of the 
> > following errors:
> > 0509-150   Dependent module 
> > /gpfs1/scientific_appln/netcdf/netcdf-4.0.1/lib/libnetcdf.a(libnetcdf.so.7) 
> > could not be loaded.
> > 0509-152   Member libnetcdf.so.7 is not found in archive
> > exec(): 0509-036 Cannot load program 
> > /gpfs1/home/amit/netcdf-4.1.3/nctest/.libs/lt-tst_rename because of the 
> > following errors:
> > 0509-150   Dependent module 
> > /gpfs1/scientific_appln/netcdf/netcdf-4.0.1/lib/libnetcdf.a(libnetcdf.so.7) 
> > could not be loaded.
> > 0509-152   Member libnetcdf.so.7 is not found in archive
> > cmp: 0653-023 Cannot find or open nctest_classic.nc.
> > make: 1254-004 The error code from the last command is 1.
> >
> >
> > Stop.
> > make: 1254-004 The error code from the last command is 2.
> >
> >
> > Stop.
> > make: 1254-004 The error code from the last command is 1.
> >
> >
> > Stop.
> >
> > #################################################UNQUOTE################################################
> >
> > Regards
> > Amit
> >
> >
> Russ Rew                                         UCAR Unidata Program
> address@hidden                      http://www.unidata.ucar.edu
> 
> 
> 
> Ticket Details
> ===================
> Ticket ID: XKQ-793167
> Department: Support netCDF
> Priority: Normal
> Status: Closed
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: XKQ-793167
Department: Support netCDF
Priority: Normal
Status: Closed