ports/73566: [PATCH] `www/apache2' doesn't run `ldconfig -m ${PREFIX}/lib/apache2' on install and `ld' fails to find apr library.
Lev A. Serebryakov
lev at FreeBSD.org
Fri Nov 5 15:50:35 UTC 2004
>Number: 73566
>Category: ports
>Synopsis: [PATCH] `www/apache2' doesn't run `ldconfig -m ${PREFIX}/lib/apache2' on install and `ld' fails to find apr library.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 05 15:50:34 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Lev A. Serebryakov <lev at FreeBSD.org>
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd4-vmware 4.10-RELEASE FreeBSD 4.10-RELEASE #4: Sat Jul 24 18:41:28 MSD 2004 root@:/usr/src/sys/compile/VMWARE i386
Ports: 04 Nov 2004.
>Description:
`www/apache2' port installs libapr-0.so.9 into `${PREFIX}/lib/apache2', but doesn't
have INSTALLS_SHLIB in Makefile.
If you install apache2, and after that try to build `devel/subversion' with
apache2 support, subversion commands will not find libraries in `lib/apache2'.
After reboot this problem will gone, because apache2 installs proper start-up
script.
>How-To-Repeat:
Install `www/apache2' on clean computer, and try to install `devel/subversion'
with apache2 support (WITH_MOD_DAV_SVN=yes) without reboot.
>Fix:
--- Makefile.orig Fri Nov 5 15:41:52 2004
+++ Makefile Fri Nov 5 15:43:17 2004
@@ -51,6 +51,8 @@
USE_RC_SUBR= yes
USE_REINPLACE= yes
LIBTOOLFILES= configure
+INSTALLS_SHILB= yes
+LDCONFIG_DIRS= ${PREFIX}/lib/apache2
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \
--enable-layout=FreeBSD \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list