On aix, libdb can't be linked statically (don't ask
(If you want to reproduce this on linux, try removing
This thing has two issues:
1) configure should IMHO check for -static after having
found all libraries, so it can check, that the
libraries can be linked statically as well.
2) The rpm build likely crashes (don't know yet) since
it expects statically linked binaries to exist around
For this one I have no good hints on how to fix it. One
could surround the static parts in the .spec by some
%if do_static or the like, but since I don't know
enough about rpm, I have no idea, on how practicable
For the fun of it, I have appended my HACK to the spec
to get it working on aix. It builds a fake -static.rpm.