From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 08:39:10 2004 Return-Path: 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 08C1E16A4D0 for ; Tue, 20 Apr 2004 08:39:10 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id B485F43D4C for ; Tue, 20 Apr 2004 08:39:09 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 20 Apr 2004 10:39:56 -0500 Message-ID: <40854414.1030607@daleco.biz> Date: Tue, 20 Apr 2004 10:39:00 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edward Aronyk References: <1082472644.18158.54.camel@zeta> In-Reply-To: <1082472644.18158.54.camel@zeta> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Apr 2004 15:39:58.0515 (UTC) FILETIME=[BC84F030:01C426ED] cc: freebsd-questions@freebsd.org Subject: Re: Shared Object Woes (or, why I shouldn't play in the ports tree) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 15:39:10 -0000 Edward Aronyk wrote: >Just a heads up: I did a search of the archives before posting this and >found several posts that sort of answer my question, but none that >answer it completely so I am posting this. If my question has been >answered elsewhere I am sorry for wasting your time and only ask that >someone direct me to where I can find an answer. > >System details in case they help: >FreeBSD 4.8 (RELENG_4_8) >Compaq Proliant 1600R with SMP >Raid using the ida driver > >A little while ago I wanted to install gkrellm2 from ports with the >server only option(GKRELLM_SERVER_ONLY=yes) as X isn't installed on the >server. While doing this I encountered errors that said I would need to >deinstall expat and gettext then install the new versions. I dutifully >complied and was rather horrified at the state my system was left in. A >bunch of applications (like nano) complained about not finding >libintl.so.X. I followed the advice in the archives and recompiled the >affected programs and they seem to work now. > >However, when I return to my build of gkrellm2 I encounter the same >problems as before. The build dies with this error message: > >######################################################## >===> Configuring for gkrellm-2.1.28_2 >===> Building for gkrellm-2.1.28_2 >/usr/libexec/ld-elf.so.1: Shared object "libintl.so.5" not found >*** Error code 1 > >Stop in /usr/ports/sysutils/gkrellm2. >######################################################## > >I don't understand what I would recompile in order to fix this. > >Also, my apache is complaining about not being able to find >libexpat.so.4 when I try to use apachectl. I can only conclude that if I >were ever to attempt to restart apache in it's current condition the >operation would fail. Since this is a production server I'm a little >concerned about messing with anything. Is the only solution to this a >recompile of apache? > >Also, how do I avoid this in the future? Just leave any ports that could >cause damage if they're removed in place? Is there a better way? > >Thanks for your time, >Edward Aronyk > > > I believe, but cannot authoritatively say, that you've been bitten by the new expat ... Please see /usr/ports/UPDATING for authoritative information. Kevin Kinsey