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

[netCDF #OJY-545370]: ncdump error when compiling

> Hi,
> I'm trying to install netcdf 4.1.1 together with hdf5 1.8.2.
> I keep getting an error when compiling netcdf:
> Making all in ncdump
> make[2]: Entering directory `/home/marston/SOFTWARE/netcdf-4.1.1/ncdump'
> ../ncgen/ncgen -c -o ctest0.nc ./../ncgen/c0.cdl > ./ctest.c
> /home/marston/SOFTWARE/netcdf-4.1.1/ncgen/.libs/lt-ncgen: symbol lookup 
> error: /home/marston/SOFTWARE/netcdf-4.1.1/libsrc4/.libs/libnetcdf.so.6: 
> undefined symbol: ompi_mpi_char
> make[2]: *** [ctest.c] Error 127
> make[2]: Leaving directory `/home/marston/SOFTWARE/netcdf-4.1.1/ncdump'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/marston/SOFTWARE/netcdf-4.1.1'
> make: *** [all] Error 2
> I've updated openMPI but still I get this error.
> Does anyone know what's going on here?
> /M
> -

Howdy Marston!

I don't know why, but your build is getting confused about whether it is 
building with shared or static libraries.

I suggest you do a make distclean, and rerun the configure and make. 



Ticket Details
Ticket ID: OJY-545370
Department: Support netCDF
Priority: Emergency
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.