The CUPS source configures with --enable-ldap as a default and will build with LDAP support if it finds ldap.h and an ldap library. If you build the cups-base package on a machine that has LDAP support, the resulting package will have a hidden dependency on the ldap library which prevents it from running on a system without LDAP support. e.g. It will successfully install on a host that has no LDAP support but yields the following on start-up: /libexec/ld-elf.so.1: Shared object "libldap-2.3.so.2" not found, required by "cupsd" This is common in environments with a single build machine that prepares packages for other local hosts. Fix: The following patch to print/cups-base/Makefile (cvs 1.85) will expose the ldap option at the port level and allow the ldap dependency, if enabled, to be recognized. Thanks much. -virgil How-To-Repeat: Build a print/cups-base package on a host with openldap-client. Install the resulting package on a host that has no LDAP support. 'sudo /usr/local/etc/rc.d/cupsd start' will return the above shared library error.
Responsible Changed From-To: freebsd-ports-bugs->dinoex Over to maintainer (via the GNATS Auto Assign Tool)
dinoex 2008-01-29 15:44:36 UTC FreeBSD ports repository Modified files: print/cups-base Makefile Log: - new option WITH_LDAP PR: 119986 Submitted by: Virgil Champlin Revision Changes Path 1.86 +9 -1 ports/print/cups-base/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed committed, thanks.