Scot Hetzel wrote: > On 11/26/09, Matthew Seaman <m.seaman_at_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. D'Oh! Of course I do have WITH_OPENLDAP defined in /etc/make.conf, so linking against the LDAP libs is just doing what I told it to do. No problem. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC