Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2004 18:42:30 +0300 (MSK)
From:      "Lev A. Serebryakov" <lev@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clement@FreeBSD.org
Subject:   ports/73566: [PATCH] `www/apache2' doesn't run `ldconfig -m ${PREFIX}/lib/apache2' on install and `ld' fails to find apr library.
Message-ID:  <200411051542.iA5FgUAr045447@ftp.translate.ru>
Resent-Message-ID: <200411051550.iA5FoZCM023036@freefall.freebsd.org>

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

>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@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:



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