From owner-freebsd-questions@FreeBSD.ORG Tue Oct 3 22:18:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EB3A916A403 for ; Tue, 3 Oct 2006 22:18:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9508E43D72 for ; Tue, 3 Oct 2006 22:18:45 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.6) id k93MIYA1001163; Tue, 3 Oct 2006 17:18:34 -0500 (CDT) (envelope-from dan) Date: Tue, 3 Oct 2006 17:18:33 -0500 From: Dan Nelson To: Mark Message-ID: <20061003221833.GC54791@dan.emsphone.com> References: <200610032201.k93M1wHh088204@asarian-host.net> <200610032214.k93MEUrL088625@asarian-host.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610032214.k93MEUrL088625@asarian-host.net> X-OS: FreeBSD 6.1-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: 'FreeBSD-Questions Questions' Subject: Re: ZendOptimizer and libm.so.2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 22:18:46 -0000 In the last episode (Oct 03), Mark said: > > Is there a particular reason ZendOptimizer > > (/usr/ports/devel/ZendOptimizer) for PHP 4.4.4 requires FreeBSD 5.x > > or higher? Near as I can tell, only reason it wouldn't run really, > > is because of the absence of libm.so.3. But I resolved to be bold, > > and made a symlink for libm.so.3 to libm.so.2, and now my new > > ZendOptimizer works just flawlessly. > > I did some more research: > > http://www.hostlibrary.com/SetupaFreeBSDproductionWebServerrerytretret.html > > It says: > > "On FreeBSD 5.4 you might get an error when installing Zend Optimizer: > /usr/libexec/ld-elf.so.1: Shared object "libm.so.2" not found, required by > "php" > > To fix the problem and go on with installation just create a symbolic link: > > #ln -s /lib/libm.so.3 /lib/libm.so.2 > > then continue with Zend installation." > > Which leads me to believe I'm correct in thinking Zend Optimizer really > just needs libm.so.2, right? You're better off installing the misc/compat4x port to get libm.so.2 . -- Dan Nelson dnelson@allantgroup.com