1) The spec file has "./configure
--prefix=$RPM_BUILD_ROOT/usr". This causes the wrong
configuration directory path to be built into the library.
Using %configure alone and specifying in the %install
section "make prefix=$RPM_BUILD_ROOT/usr install" solves the
2) The spec file should use a version macro, as the version
is explicity used in several places. Including a README
file which is not found because of the wrong version listed.
3) Symbolic links for libraries should not be made in a spec
file. This is the job of ldconfig.
These are common mistakes that all spec files should be
Thanks. Didn't catch that one for some reason (why, I have no idea).
Thanks for the heads up!