From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 20:29:56 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4858106566B for ; Fri, 6 Feb 2009 20:29:56 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: from web39102.mail.mud.yahoo.com (web39102.mail.mud.yahoo.com [209.191.86.253]) by mx1.freebsd.org (Postfix) with SMTP id 76B5F8FC1A for ; Fri, 6 Feb 2009 20:29:56 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: (qmail 55622 invoked by uid 60001); 6 Feb 2009 20:03:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=rxQQolLFzsOURvUzOZZ0h5C6dh8DyHo2Lq/spXCur+K1UhvH889DL6Z9ANgjqLlYUrQb/NmYuusqGCw/A235H+XzmQJvk4xBTewroFMlg0/x9z2U74zNco8o32wg1VIAqFq51TUYwc8QCN8JLoao4FEh1kfk5huhuS9lxNjaFqc=; X-YMail-OSG: Ot3J2T0VM1muEa1XsVUCX3HV5zx7svvodf9abWT77G3dGwMVpgB.8fRcqqealDwmO5t_nfxR2A4OEfciSU9ADawjkXVOTaho4Kvcat_6VcJvR5k.Kx31cBcFMdWfStFYX.9zZmf3bo5k5qSrYv1o_lLWjfWAWLhW8UmW1s0gtYZKKPfqgXXhmrAeJfCLzyek9YhCoPHAEYebmr8- Received: from [62.141.58.13] by web39102.mail.mud.yahoo.com via HTTP; Fri, 06 Feb 2009 12:03:14 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Fri, 6 Feb 2009 12:03:14 -0800 (PST) From: bf To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <93660.55067.qm@web39102.mail.mud.yahoo.com> Cc: kline@thought.org Subject: lpr fixed, but the wrong-way... [?] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf2006a@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 20:29:57 -0000 > it lookas as tho i need to upgrade this > libgs.so.8 shared library. but *how* do i find who/what build this > library? It is from one of the ghostscript ports, as you might expect when using postscript for printing. It probably failed because one of the libraries was corrupted, or someone updated a port/package without also updating the ports/packages that depend upon it. If, in the future, you install a file from a package or a port, and your package database files (by default, in /var/db/pkg ) aren't damaged (and no committer has screwed up by not adding files to a pkg-plist or not properly determining CONFLICTS in a port Makefile), then you can use: pkg_info -W to determine the port or package to which the file belongs. In this case, for my machine: pkg_info -W /usr/local/lib/libgs.so.8 /usr/local/lib/libgs.so.8 was installed by package ghostscript8-8.63 although it could be something like ghostscript8-nox11-* on yours. pkg_which, from the ports-mgmt/portupgrade port, also does this ( see pkgdb(1) if you have this installed ). To get the path in the first place, use locate(1), find(1), or, for a shared library, something like: ldconfig -vr | grep 'libgs.so.8' 349:-lgs.8 => /usr/local/lib/libgs.so.8 There is a section on printing in the FreeBSD handbook, which you may find useful. Regards, b.