Red Hat Bugzilla – Bug 309941
grace is not built with netcdf support
Last modified: 2007-11-30 17:12:17 EST
Description of problem:
grace is not built with netCDF support even though the spec file
seems to implement this.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Rebuild grace binary package from SRPM.
checking for netCDF API version >= 3.0... no
--> support for netCDF is disabled
netCDF is enabled and the binary is linked against some netCDF library.
- extra link path in spec file is obsolete,
- xmgrace is not linked against any netCDF library; it only depends on
linux-gate.so.1 => (0x0012d000)
libXbae.so.4 => /usr/lib/libXbae.so.4 (0x0012e000)
libXm.so.2 => /home/frieben/lib/libXm.so.2 (0x00172000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00358000)
libXp.so.6 => /usr/lib/libXp.so.6 (0x00369000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00371000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x003c8000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x003d8000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x004d4000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x004dd000)
libfftw.so.2 => /usr/lib/libfftw.so.2 (0x004f7000)
libt1.so.5 => /usr/lib/libt1.so.5 (0x00524000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x0057b000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0059d000)
libz.so.1 => /lib/libz.so.1 (0x005c3000)
libm.so.6 => /lib/libm.so.6 (0x005d6000)
libdl.so.2 => /lib/libdl.so.2 (0x005ff000)
libc.so.6 => /lib/libc.so.6 (0x00604000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0x0075c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00773000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00776000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00778000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00794000)
The new version of netcdf has shared libraries and it seems to have changed
the signature for version. That confuses configure that wrongly states that it
can not find netcdf.
I have patched configure to recognise the new version.
I have removed the (now) spurious line for extra lib.
I have added in the process the dependency for libXmu that configure also
searches for and we have.
Grace build for F-8 in
I will use this spec file and backport the fix to F-7. In this case the new
version will use the shared library for netcdf instead of the static version.
Good job, the package builds correctly now, and the binary actually does
depend on netCDF:
libnetcdf.so.4 => /usr/lib/libnetcdf.so.4 (0x004fd000)
grace-5.1.21-4.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update grace'
grace-5.1.21-4.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.