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

[netCDF #XAB-948325]: NETCDF: libnetcdf.a on Solaris does not contain



> I have been using netcdf for several years and have discovered a
> problem with the build of netcdf-3.6.2 (and later) on the Solaris
> platform.  For some reason, the v2i.o object file is not being put in
> the .libs/libnetcdf.a library, it is only in the .libs/libnetcdf2.a
> library.  On linux, it puts v2i.o in both libraries.
>
> I am not specifying anything special during the configure; simply:
> "./configure" followed by "make".  If I then do a "make check", it fails
> in the nctest directory with unsatisfied externals that are defined in
> v2i.o.  Doing the same thing on linux works correctly.
>
> --Greg
>

Howdy Greg!

The build is known to work on solaris. See here:
http://www.unidata.ucar.edu/software/netcdf/builds/snapshot/

and search for SunOS to see some build output from the latest daily snapshot on
solaris.

The way the 3.6.2 build works is that libtool convenience libraries are
constructed for the version 2 API, another for the version 3 API, another for
the Fortran API.

Only at the end of the process are they combined into the final output
library.

Could you please build on solaris for me, and send me the complete output of
configure && make check, along with the contents of the config.log file.

Thanks!

Ed

Ticket Details
===================
Ticket ID: XAB-948325
Department: Support netCDF
Priority: Normal
Status: Open