Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 15:08:00 -0700 (PDT)
From:      Tony Fleisher <takhus@takhus.mind.net>
To:        Robert Shea <robert.shea@onlinecables.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: apache/php trouble
Message-ID:  <Pine.BSF.4.21.0010061504290.58954-100000@takhus-home.ashlandfn.org>
In-Reply-To: <002901c02fde$533807c0$0200a8c0@Eli>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010061504290.58954-100000>