From owner-freebsd-questions Tue Mar 4 13:48:35 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D72737B401 for ; Tue, 4 Mar 2003 13:48:33 -0800 (PST) Received: from boris.st.hmc.edu (boris.ST.HMC.Edu [134.173.63.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id B431C43FAF for ; Tue, 4 Mar 2003 13:48:32 -0800 (PST) (envelope-from jeff@unixconsults.com) Received: from boris.st.hmc.edu (localhost.st.hmc.edu [127.0.0.1]) by boris.st.hmc.edu (8.12.8/8.12.6) with ESMTP id h24LmV4A068127; Tue, 4 Mar 2003 13:48:31 -0800 (PST) (envelope-from jeff@unixconsults.com) Received: from localhost (jeff@localhost) by boris.st.hmc.edu (8.12.8/8.12.6/Submit) with ESMTP id h24LmVtl068124; Tue, 4 Mar 2003 13:48:31 -0800 (PST) X-Authentication-Warning: boris.st.hmc.edu: jeff owned process doing -bs Date: Tue, 4 Mar 2003 13:48:30 -0800 (PST) From: Jeff Jirsa X-X-Sender: jeff@boris.st.hmc.edu To: John McClure Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Aliasing Libraries or Installing Older Versions In-Reply-To: <20030304214105.23742.qmail@web41415.mail.yahoo.com> Message-ID: <20030304134557.R68099-100000@boris.st.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by unixconsults.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 4 Mar 2003, John McClure wrote: > Thanks in advance for any help. > > Trying to build mod_php4 (version 4.3.1) as a port, > basically not a big deal, BUT ... when I try to add > XSLT support via Sablotron, the Sablotron port builds > nicely from /usr/ports/textproc/sablotron but installs > a version of library that ldconfig -r lists as > lsablot.70. > > The mod_php4 build complains (as pasted below) that is > can't find sablot.69. I rebuilt the library cache by > running ldconfig, but it appears that php is looking > specifically for sablot.69 and nothing else. > You should be able to just change the scripts/configure.php appropriately (Just change the .69 to .70 in ports/www/mod_php4/scripts/configure.php. diff below for clarity, watch the wrap): # diff -u scripts/configure.php.orig scripts/configure.php --- scripts/configure.php.orig Tue Mar 4 13:45:11 2003 +++ scripts/configure.php Tue Mar 4 13:45:19 2003 @@ -278,7 +278,7 @@ fi ;; \"XSLT\") - echo "LIB_DEPENDS+= sablot.69:\${PORTSDIR}/textproc/sablotron" + echo "LIB_DEPENDS+= sablot.70:\${PORTSDIR}/textproc/sablotron" echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot=\${LOCALBASE}" if [ -z "$XML" ]; then set $* \"XML\" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message