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

netcdf .a location



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?

-- 
Rudi


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