Red Hat Bugzilla – Bug 466814
Include static library?
Last modified: 2008-10-24 19:51:20 EDT
This is an enhancement request:
It would be really great if you could include a static library of gdal. Perhaps as part of the gdal-devel.i386 and gdal-devel.x86_64 packages.
Note this would necessitate static libraries of all of the dependencies as well...
Static libs go into -static package, like gdal-static.
The dependencies are independent packages, so you'll have to convince
maintainers for all dependencies, and gdal has a lot of them.
It is possible to ship gdal-static, though, and you can link against a
static gdal while other libs are not static.
Why do you want static libraries?
I work on several codes that link against gdal. It is very difficult to make sure to satisfy all of the required dependencies (as you say, there are very many) when I am not able for other reasons to use a sane installation method (rpm, etc). I would appreciate a static gdal, but it seems that it might be best for me to just compile gdal myself as a static lib.
Ok. Lets do it, i'll take the task.
A -static could be usefull for some people, myself hitted the issue.
i will propose here a package, lets see/test how it works and fit to fedora
gdal-1.5.3-1.fc9 has been submitted as an update for Fedora 9.
gdal-1.5.3-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.