On Thu, 2012-03-15 at 01:45:43 +0200, Nikolaos Milas wrote:
> ...
> %if %{with_ldap}
> CCARGS="${CCARGS} -DHAS_LDAP -I/usr/local/openldap/include"
> AUXLIBS="${AUXLIBS} -L/usr/local/openldap/lib -lldap -llber"
> %endif
>
> ...
> However, I see that at the end of the build process, the "Requires"
> section includes:
> "... liblber-2.3.so.0()(64bit) libldap-2.3.so.0()(64bit) ..."
> which are in /usr/lib64 and belong to native openldap v2.3.x while I
> would expect to see libraries like:
> "liblber-2.4-releng.so.2 ... libldap-2.4-releng.so.2"
> or
> "libldap.so... libldap.so"
> which are in /usr/local/openldap/lib64 and belong to LTB v2.4.x
> ...
/usr/local/openldap/lib != /usr/local/openldap/lib64
--
Sahil Tandon