<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><span style="font-size: 12pt;">> but it exited with an error:</span><br><div><br></div><div>> + ./configure --build=x86_64-redhat-linux-gnu <br>> --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu <br>> --program-prefix= --prefix==/usr/local/openldap <br>> --exec-prefix==/usr/local/openldap --bindir==/usr/local/openldap/bin <br><br></div><div>> configure: error: expected an absolute directory name for --exec_prefix: <br>> =/usr/local/openldap<br>> error: Bad exit status from /var/tmp/rpm-tmp.WrpSHX (%build)<br><br></div><div>That does not even make any sense: above, you are passing in "--exec-prefix"; but the error says "--exec_prefix".</div><div><br></div><div>That does not compute.</div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">> Why it can't find the default system libraries (which are indeed in </span></div><div>> /usr/lib64/) ??? It's the first time this happens to me. I have built <br>> many packages (Postfix, Dovecot, Openldap, etc.) and I have never had a <br>> problem building using the default spec file.<br><br></div><div>To know the answer to that question, you need to search "config.log", and preferably post the LDAP excerpt from it here.</div>                                      </div></body>
</html>