From owner-freebsd-questions@FreeBSD.ORG Wed Apr 4 20:45:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3E9316A402 for ; Wed, 4 Apr 2007 20:45:41 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.freebsd.org (Postfix) with ESMTP id 87F8613C43E for ; Wed, 4 Apr 2007 20:45:41 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 3945B7E8D9; Wed, 4 Apr 2007 16:45:45 -0400 (EDT) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ni+Okjv3sjjo; Wed, 4 Apr 2007 16:45:44 -0400 (EDT) Received: from [156.56.12.213] (loony.uits.indiana.edu [156.56.12.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id A4FB07E8BF; Wed, 4 Apr 2007 16:45:44 -0400 (EDT) Message-ID: <46140E71.9010009@netmusician.org> Date: Wed, 04 Apr 2007 16:45:37 -0400 From: Joe Auty User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Kevin Kinsey References: <46114B22.60703@netmusician.org> <46119572.2000409@daleco.biz> <4612A380.1050001@netmusician.org> <4612B06F.3040103@daleco.biz> <4613CD42.2050409@netmusician.org> In-Reply-To: <4613CD42.2050409@netmusician.org> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: error loading php5.so 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: Wed, 04 Apr 2007 20:45:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joe Auty wrote: > Kevin Kinsey wrote: >> Joe Auty wrote: >>>>> # apachectl start Syntax error on line 273 of >>>>> /usr/local/etc/apache2/httpd.conf: Cannot load >>>>> /usr/local/libexec/apache2/libphp5.so into server: >>>>> /usr/local/libexec/apache2/libphp5.so: Undefined symbol >>>>> "__res_ninit" >>>>> >>>>> This is occurring under FBSD 6.2 running the latest >>>>> versions of Apache/PHP >>>> Possibly looks as if PHP is unaware of Apache's existence? >>>> (or at least it was at time of compile). How did you do the >>>> upgrade? >>>> >>> Just via a simple portupgrade... doing a: >>> >>> portupgrade -f php5 >>> >>> Does not correct this problem (although it does create a new >>> libphp5.so). Any further ideas? >> Well, I'm not absolutely certain of anything. I'd make sure that >> "make config" under /usr/ports/lang/php5 indicated Apache module >> was to be built, and do something more like "-rR php5" instead >> of "-f". Did you add new "extensions" to php at the time of this >> build, also? > >> ??, > >> Kevin Kinsey > > I did not manually add any extensions... In fact, this error > persists even with all of my extensions commented out in my > extensions.ini file. Could this be connected to the major gettext > upgrade? > > > I'm doing a portupgrade -rRf php5 as we speak (this will take a > good while to complete on this slower computer). > Okay, doing the portupgrade -rRf php5 has resolved this issue. I'm not sure as to what it was, but for now I suppose I can be content in just having it working since this is not a production machine. Thanks for all your help! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGFA5xCgdfeCwsL5ERAgocAJ9jld7nxkgOp3Qz0146+dNwlZzr8wCeNiKp QQIhqksZD9BNWpsvJJ9Rjxs= =K0Ma -----END PGP SIGNATURE-----