From owner-freebsd-questions@FreeBSD.ORG Sat Nov 25 16:03:28 2006 Return-Path: X-Original-To: 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 15EB716A4FC for ; Sat, 25 Nov 2006 16:03:28 +0000 (UTC) (envelope-from arminius@pubbox.net) Received: from pubbox.net (pubbox.net [81.169.167.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A10043E4D for ; Sat, 25 Nov 2006 16:00:01 +0000 (GMT) (envelope-from arminius@pubbox.net) Received: from e180066179.adsl.alicedsl.de ([85.180.66.179] helo=pubbox.net) by pubbox.net with esmtpa (Exim 4.60 (FreeBSD)) (envelope-from ) id 1GnzxG-0005Jb-A1; Sat, 25 Nov 2006 17:00:38 +0100 Date: Sat, 25 Nov 2006 17:00:51 +0100 From: Armin Arh To: service Message-ID: <20061125160051.GA761@pubbox.net> References: <4567C6EF.4040008@fixer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4567C6EF.4040008@fixer.com> User-Agent: Mutt/1.5.11 Sender: arminius@pubbox.net Cc: questions@freebsd.org Subject: Re: packages failing to load 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: Sat, 25 Nov 2006 16:03:28 -0000 Look for a package called 'expat-2.0.0'. Once you got one look into it like this pkg_info -L expat-2.X.tar.gz It should then state there is a '/usr/local/lib/libexpat.so.6' in it. If so, install it. Nevertheless this may fail if it uses some syscall of FBSD-5.5 not present in FBSD5.4, but i don't think so. If all that fails, compile it yourself, like this: cd /usr/ports/textproc/expat2 make install && make clean I have FreeBSD-6.2 running, but without expat2. My packages still use expat1. Simply because i built every bit from ports, to have no braindamage with precompiled stuff wanting newest libraries. Looks like this on my Desktop: ---------------- armin@lance pkg_info -L /var/db/pkg/expat-1.95.8_3/ Information for expat-1.95.8_3: Files: /usr/local/man/man1/xmlwf.1.gz /usr/local/bin/xmlwf /usr/local/include/expat.h /usr/local/include/expat_external.h /usr/local/lib/libexpat.a /usr/local/lib/libexpat.so /usr/local/lib/libexpat.so.5 armin@lance ldconfig -r |grep expat 438:-lexpat.5 => /usr/local/lib/libexpat.so.5 680:-lexpat.4 => /usr/local/lib/libexpat.so.4 armin@lance uname -a FreeBSD lance.net.schlund.de 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun Nov 12 21:59:06 CET 2006 god@lance.net.schlund.de:/usr/src/sys/i386/compile/LANCE i386 ---------------- bye, Armin -- PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/ On Fri, Nov 24, 2006 at 09:30:39PM -0700, service wrote: > uname -a > FreeBSD localhost 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Fri Nov 24 > 08:54:35 UTC 2006 root@:/usr/src/sys/i386/compile/VIL i386 > ---------------------------------------------------------------------------- > > I had FreeBSD-5.4 for about one and a half years. Loading packages with > "pkg_add -r" was very easy. Suddenly "pkg_add -r" no longer works. > > Looking at freebsd's ftp sites, they got rid of the 5.4 release. They > now have a 5.5 release. I tried downloading from "packages-5-stable" > and "packages-5.5-stable". About 50 percent of these programs fail. I > get error messages that say something like "/libexec/ld-elf.so.1: > Shared object "libexpat.so.6" not found". I'm not sure, but I think > files ending in "so.6", belong in version 6, not version 5. I have more > than 10 versions of FreeBSD. I tried using packages off these CDs. > some of them worked, but most of the time I keep getting error messages. > > What can I do? > > Thanks in advance, > bruce > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >