On 15/3/2012 1:54 πμ, Sahil Tandon wrote:
/usr/local/openldap/lib != /usr/local/openldap/lib64
I know; I am wondering whether this is the problem.
I think that the build process uses 64 bit libs correctly when needed
and produces automatically both 32 bit and 64 bit RPMs if the required
libs are available (otherwise it produces only what it can). Correct me
if I am wrong on this; it's a conclusion based on limited experience.
My first try used precisely "/usr/local/openldap/lib64" and build failed
with error:
------------------------------------------------------------------------------------
...
/bin/sh postfix-install -non-interactive -package
bin/postconf: error while loading shared libraries:
libldap-2.4-releng.so.2: cannot open shared object file: No such file or
directory
bin/postconf: error while loading shared libraries:
libldap-2.4-releng.so.2: cannot open shared object file: No such file or
directory
postfix-install: Error: "" should be an absolute path name.
make: *** [non-interactive-package] Error 1
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.19359 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.19359 (%install)
------------------------------------------------------------------------------------
Any ideas?
Thanks,
Nick