Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2007 15:40:21 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110424: net/openldap23-server - fix USE_LDCONFIG
Message-ID:  <20070317044021.C28BD126@k7.mavetju>
Resent-Message-ID: <200703170450.l2H4o4Pl074029@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110424
>Category:       ports
>Synopsis:       net/openldap23-server - fix USE_LDCONFIG
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 17 04:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

>Description:

net/openldap23-server installs libraries in libexec/openldap.

By startup, it fails for me because the cache of ldconfig is cleared
(maybe this is a jail only issue, maybe this is a normal issue).

Running "ldconfig -m /usr/local/libexec/openldap/" will resolve
this.

But setting "USE_LDCONFIG=${PREFIX}/libexec/openldap" in the ports
Makefile will create a small file in /usr/local/libdata/ldconfig
which will be used at startup to do the ldconfig command.

See multimedia/mplayer for use of it.

>How-To-Repeat:
>Fix:

replace USE_LDCONFIG=yes with USE_LDCONFIG=${PREFIX}/libexec/openldap
in the ports makefile(s).
>Release-Note:
>Audit-Trail:
>Unformatted:



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