Description of problem: No shared libraries provided. Version-Release number of selected component (if applicable): 3.6.1 How reproducible: - Steps to Reproduce: 1. - Actual results: - Expected results: - Additional info: Please update to beta version of 3.6.2, it now has shared library generation enabled mainstream according to a mail from author on the mailinglist. This is a blocker issue for get gdal library into -extras. If dont want to include beta, at least fix generation of shared library.
Hi Balint, its possible that I'm missing something here but I doubt it. Before I take any action on this bug I want you to please explain why the current netcdf in Fedora Extras blocks the generation of shared libs in gdal. And before you attempt to answer that question, please take a very close look at both the nco package and netcdf itself. Notice that all the netcdf object code (both the Fortran and C bits) are position independent (built with "-fPIC"). As a result, the nco package is (readily!) able to build and use shared libraries that depend upon the netcdf libs. So, recognizing the above circumstances, why is it that nco is able to build and use shared libs that depend upon netcdf but gdal cannot?
gdal complain about :-) /usr/bin/ld: cannot find -lnetcdf and that flag is from the source code, i didnt add it. Well, we can live probably with hooks over gdal, but it would be nice to have netcdf enhanced, why not ? /cristian
Hi Cristian, I see from the latest SRPM in bz 222042 that all you had to do to enable netcdf in gdal was to add: export LDFLAGS='-L%{_libdir}/netcdf-3' export CPPFLAGS=$CPPFLAGS' -I%{_includedir}/netcdf-3' to the gdal spec file. That's good news. I'm closing this as NOTABUG but please feel free to re-open it or to open a new one if you encounter an actual netcdf problem. And, yes, I do intend to update the netcdf package in Fedora to 3.6.2 when it is no longer a "beta" release.
That hook what you saw isnt enough, need to cut out -lnetcdf from source, but anyway, i still sustain necdf doesnt ship a sane enviroment. Maybe to ship shared libs along their soname shoud be a *MUST* and than people will start realize ?! But anyway, nevermind.