From owner-freebsd-ports@FreeBSD.ORG Wed Jul 28 18:44:29 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88F6B16A4CE; Wed, 28 Jul 2004 18:44:29 +0000 (GMT) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id D402F43D53; Wed, 28 Jul 2004 18:44:28 +0000 (GMT) (envelope-from lev@FreeBSD.org) Received: from LEV ([212.176.251.223]) (authenticated bits=0) by ftp.translate.ru (8.12.11/8.12.11) with ESMTP id i6SIiCuh007174; Wed, 28 Jul 2004 22:44:14 +0400 (MSD) (envelope-from lev@FreeBSD.org) Date: Wed, 28 Jul 2004 22:44:20 +0400 From: Lev Serebryakov X-Mailer: The Bat! (v2.11.02) Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1842352588.20040728224420@serebryakov.spb.ru> To: Sean McNeil In-Reply-To: <1089267033.77359.6.camel@server.mcneil.com> References: <1089144293.1173.4.camel@server.mcneil.com> <1089267033.77359.6.camel@server.mcneil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: clement@FreeBSD.org cc: lev@FreeBSD.org cc: freebsd-ports@FreeBSD.org Subject: Re[2]: subversion broken with apache2 now in ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lev Serebryakov List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 18:44:29 -0000 Hello Sean, Thursday, July 8, 2004, 10:10:33 AM, you wrote: >> I just tried to do a portupgrade -af on my machine (-CURRENT amd64) and >> found that something has changed that causes subversion to be broken. >> >From what I can tell, it appears that a library (libaprutil-0.so.9) has >> been moved from /usr/local/lib to /usr/local/lib/apache2. subversion >> can no longer find this library when anything runs because there is no >> rpath set for it. Also, I get the following when I try to start up >> apache2: >> >> Starting apache2. >> Syntax error on line 284 of /usr/local/etc/apache2/httpd.conf: >> Cannot load /usr/local/libexec/apache2/mod_dav_svn.so into server: >> Shared object "libaprutil-0.so.9" not found, required by >> "libsvn_repos-1.so.0" SM> It is neither correct nor appropriate to require the addition of a SM> subdirectory (i.e. /usr/local/lib/apache2) to be in the LD_LIBRARY_PATH SM> or added to ldconfig. This is essentially what I have to do now. I SM> have added /usr/local/lib/apache2 to /etc/ld-elf.so.conf. SM> As it stands, when subversion and apache2 are installed neither of them SM> work "out of the box". You are forced to do something like add the SM> path as mentioned above. One of the following items should be SM> fixed: SM> subversion and apache2 should have all libraries in SM> /usr/local/lib/apache2 linked in with rpaths Yes, if I add "LDFLAGS+= -rpath /usr/local/lib/apache2", `svn' works. But "make install" fails: libtool denies to install "mod_dav_svn.la" into "/isr/local/libexec/apache2" in such case. it want "/usr/local/lib/apache2"! So, it is not a soultion :( May be it is possible to override this? SM> or SM> shared libraries in /usr/local/lib/apache2 should be moved back to SM> /usr/local/lib. I'm repeating: IMHO, it is best solution. But I could not change this. -- Best regards, Lev mailto:lev@FreeBSD.org