From owner-freebsd-questions@FreeBSD.ORG Fri Feb 10 20:02:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 38E5F16A420 for ; Fri, 10 Feb 2006 20:02:24 +0000 (GMT) (envelope-from trix@basement.net) Received: from fran.basement.net (fran.basement.net [66.139.76.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA6E943D48 for ; Fri, 10 Feb 2006 20:02:23 +0000 (GMT) (envelope-from trix@basement.net) Received: from [192.168.15.239] (67-108-187-151.rpt.bna.sparkplugbb.com [67.108.187.151]) (authenticated bits=0) by fran.basement.net (8.12.8/8.12.8) with ESMTP id k1AK2Jb3028794 for ; Fri, 10 Feb 2006 14:02:23 -0600 Message-ID: <43ECF149.2010107@basement.net> Date: Fri, 10 Feb 2006 14:02:17 -0600 From: Trix Farrar Organization: Basement.NET User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: /usr/lib/libxpg4.so.3 missing - Did I miss a memo? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: trix@basement.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 20:02:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On my network, I have several hosts that were originally installed with FreeBSD 5.2.1-RELEASE, 5.3-RELEASE, and 5.4-RELEASE. All of these have been updated now to 6.0-RELEASE-p4. One host was originally installed from 6.0-RELEASE media and subsequently updated to p4. All works well. I took a cue from The FreeBSD Handbook; 21.5 Tracking for Multiple Machines, and have a central build host for the network. On this machine, I do my make buildworld, make buildkernel and building of packages to ports. That way I can just install port packages on the non-build machine. Everything worked great until I built bacula-server-1.38.5_1. Package built fine. Installs and runs fine on all machines except the host that was originally installed from 6.0-RELEASE media. On that machine, the bacula daemons will not execute. They error with: (for example) /libexec/ld-elf.so.1: Shared object "libxpg4.so.3" not found, required by "bacula-dir" This library does not exist on the from-6.0-install machine. I started by looking through /usr/src/UPDATING and can find no mention of this library on either the default branch or RELENG_5 branch. Next I started browsing through CVS and logs for /usr/src. Here's what I've found: This library has been obsolete and pretty much empty for a long time because its functionality was moved into libc. Yes, the library itself still existed up until the RELENG_5 tag. About 14 months ago, the files were removed on the mainline by tjr (Tim J. Robbins) on 2004-Nov-13. I've managed to get past this by adding a line to libmap.conf(5): libxpg4.so.3 libc.so.6 My questions (yes, finally) are: * Is this change documented somewhere that Google can't find or that I'm not looking? * Is my handling of this situation correct as a band-aid fix? * How can I know whether or not it is save to delete libxpg4.a, libxpg4.so, libxpg4.so.3, and libxpg4_p.a from /usr/lib on the machines where they are present? * Why would bacula (or anything else, for that matter) even try to link to this library in the first place? (Ok, I'll admit that I'm being lazy on this one because I haven't really researched it yet) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD7PFFUn6S0hqD4tsRApqfAJ0e28W6cWI+VR7bTYudh75wH0RrmACgrdxQ J846qPlquupb91uFcImU9JE= =pG2s -----END PGP SIGNATURE-----