Date: Fri, 6 Feb 2009 12:03:14 -0800 (PST) From: bf <bf2006a@yahoo.com> To: freebsd-questions@FreeBSD.org Cc: kline@thought.org Subject: lpr fixed, but the wrong-way... [?] Message-ID: <93660.55067.qm@web39102.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
> 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 <path to file>
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?93660.55067.qm>
