Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 23:49:41 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Building RELENG_8_0 confused by openldap.
Message-ID:  <790a9fff0911262149q2ccc91ecw23b89e067ef654ff@mail.gmail.com>
In-Reply-To: <4B0F244A.60404@infracaninophile.co.uk>
References:  <4B0E57CC.7050509@infracaninophile.co.uk> <4B0F244A.60404@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/26/09, Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
>  Still, ipropd-{master,slave} end up linked against the LDAP shlibs
> installed
>  from ports which seems wrong to me, at least not without having to
> expressly
>  set make  variables to turn that behaviour on.
>
>  % ldd /usr/libexec/ipropd-master /usr/libexec/ipropd-master:
>        libkadm5srv.so.10 => /usr/lib/libkadm5srv.so.10 (0x80064b000)
>        libhdb.so.10 => /usr/lib/libhdb.so.10 (0x80075a000)
>        libkrb5.so.10 => /usr/lib/libkrb5.so.10 (0x800876000)
>        libhx509.so.10 => /usr/lib/libhx509.so.10 (0x8009e3000)
>        libroken.so.10 => /usr/lib/libroken.so.10 (0x800b22000)
>        libasn1.so.10 => /usr/lib/libasn1.so.10 (0x800c33000)
>        libcrypto.so.6 => /lib/libcrypto.so.6 (0x800db2000)
>        libcrypt.so.5 => /lib/libcrypt.so.5 (0x80104b000)
>        libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x801164000)
>        libldap-2.4.so.7 => /usr/local/lib/libldap-2.4.so.7
> (0x801266000)
>        liblber-2.4.so.7 => /usr/local/lib/liblber-2.4.so.7
> (0x8013a4000)
>        libc.so.7 => /lib/libc.so.7 (0x8014b1000)
>        libssl.so.6 => /usr/lib/libssl.so.6 (0x8016e7000)
>
Have a look at src/kerberos5/Makefile.inc.  This files adds the
dependancy on OpenLDAP when WITH_OPENLDAP is defined.

Do you have WITH_OPENLDAP defined in /etc/make.conf?

One way to prevent Ports configuration variables from affecting the
build of the FreeBSD src is to use ports-mgmt/portconf, and put those
variables in /usr/local/etc/ports.conf file.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0911262149q2ccc91ecw23b89e067ef654ff>