netcdf .a location

Michael Schwendt bugs.michael at gmx.net
Thu May 12 20:12:55 UTC 2005


On Thu, 12 May 2005 21:15:37 +0200, Rudi Chiarito wrote:

> The current netcdf-devel package places the libraries in
> /usr/lib/netcdf-3/. The rationale given in the spec file is that this in
> preparation for netcdf-4 (no, netcdf has historically never been a
> shared library...). Is this sanctioned/approved? It surely makes things
> a bit trickier, because builds have to explicitly augment the library
> search path and you can't say -lnetcdf-3/<LIBRARY>.
> 
> I have looked for precedents. So far, netcdf's static libraries seem to
> be unique. cyrus-sasl-devel does indeed place .a files in a
> subdirectory, but they appear to be more like plugins. A more similar
> scenario is libpng's. libpng-devel and libpng10-devel install these
> files:
> 
> /usr/lib/libpng10.a
> /usr/lib/libpng12.a
> /usr/lib/libpng.a -> libpng12.a 
> 
> Should netcdf follow that example?

You mean, put the headers into a separate sub-directory like libpng10
does it? ;)




More information about the fedora-extras-list mailing list