From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 07:50:31 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 0DE9B16A4CE for ; Tue, 20 Apr 2004 07:50:31 -0700 (PDT) Received: from boudica.360i.ca (boudica.360i.ca [216.194.85.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF71F43D1F for ; Tue, 20 Apr 2004 07:50:30 -0700 (PDT) (envelope-from earonyk@360i.ca) Received: from [192.168.1.107] (d66-222-132-91.abhsia.telus.net [66.222.132.91]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by boudica.360i.ca (Postfix) with ESMTP id 37AA0615DB for ; Tue, 20 Apr 2004 08:50:30 -0600 (MDT) From: Edward Aronyk To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1082472644.18158.54.camel@zeta> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 20 Apr 2004 08:50:44 -0600 Content-Transfer-Encoding: 7bit Subject: 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 14:50:31 -0000 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