From owner-freebsd-questions Fri Oct 6 15: 8:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ego.mind.net (ego.mind.net [206.99.66.9]) by hub.freebsd.org (Postfix) with ESMTP id 7B00A37B502 for ; Fri, 6 Oct 2000 15:08:17 -0700 (PDT) Received: from takhus-home.ashlandfn.org (AFN-Dyn-6315110844.pc.ashlandfiber.net [63.151.108.44]) by ego.mind.net (8.9.3/8.9.3) with ESMTP id PAA01979; Fri, 6 Oct 2000 15:08:16 -0700 Received: from localhost (fleisher@localhost) by takhus-home.ashlandfn.org (8.11.0/8.11.0) with ESMTP id e96M80g59457; Fri, 6 Oct 2000 15:08:00 -0700 (PDT) (envelope-from takhus@takhus.mind.net) X-Authentication-Warning: takhus-home.ashlandfn.org: fleisher owned process doing -bs Date: Fri, 6 Oct 2000 15:08:00 -0700 (PDT) From: Tony Fleisher X-Sender: fleisher@takhus-home.ashlandfn.org To: Robert Shea Cc: questions@FreeBSD.ORG Subject: Re: apache/php trouble In-Reply-To: <002901c02fde$533807c0$0200a8c0@Eli> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 6 Oct 2000, Robert Shea wrote: > > Hello all, > I am attempting to install apache-1.3.12.tgz and mod_php-4.0.2.tgz onto my > 3.4-S machine however I get the following error when trying to start apache: > > juliet$ /usr/local/sbin/apachectl start > /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found > /usr/local/sbin/apachectl start: httpd could not be started > > and this message after installing php: > > juliet$ pkg_add mod_php-4.0.2.tgz > /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found > apxs:Error: Sorry, no DSO support for Apache available > apxs:Error: under your platform. Make sure the Apache > apxs:Error: module mod_so is compiled into your server > apxs:Error: binary `/usr/local/sbin/httpd'. > pkg_add: command '/usr/local/sbin/apxs -e -a -n php4 libphp4.so' failed > /usr/local/sbin/apachectl restart: httpd not running, trying to start > /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found This looks to me like a library compatability problem. The package is dynamically linked against libc.so.4 (part of the 4.x Releases), and your system is probably using libc.so.3 (an older version). I think that you will either need to upgrade to 4.x, or build this package yourself from the ports. > /usr/local/sbin/apachectl restart: httpd could not be started > pkg_add: command '/usr/local/sbin/apachectl restart' failed > > **************************************************************************** > * > You have installed the mod_php4 package. > (and other "success!" type stuff.) > **************************************************************************** > * > > At first I thought maybe I had gotten a package for a newer version on > accident, but I have since verified that this is not the case. > I have reinstalled libtool-1.3.4.tgz as well with no luck... > Any suggestions are much appreciated. > Thank you in advance. > > Robert Shea > "Witty quote goes here." > Regards, TOny. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message