Description of problem: trying to rebuild postgresql84 on ppc it fails like this: ... checking whether strerror_r returns int... no checking for ldap_bind in -lldap... yes checking for ldap_simple_bind in -lldap_r... no configure: error: library 'ldap_r' is required for LDAP error: Bad exit status from /var/tmp/rpm-tmp.26188 (%build) from the erratum: "I'm not really sure why it's failing for you, but I'm suspicious that it's because you have both ppc and ppc64 versions of openldap installed. That seems like it'd pose a risk of the linker picking the wrong library." wherever the problem lies, postgresql, openldap, autotools, gcc or whatever (feel free to reassign ...), it should be fixed, as long as we pretend to support multilib installs
This isn't a bug. We support multilib *installs*. We don't promise that you can do a clean rebuild when there are multiple library versions lurking around. That's probably impossible, and it would certainly require vastly more effort than is warranted. If you need to do software builds on a multilib machine, there's always "mock". A quick search for some precedents turns up bug #235445 and bug #344941; I'm sure there are more.