lpr fixed, but the wrong-way... [?]
i hope somebody can clue me in one why %lpr file did work less than 3 weeks ago, but stopped last night. i had no idea why. i have apsfilter set up and found (in /var/spool/lpd/aps1) in -rw-r--r-- 1 root daemon 13030 Feb 6 10:54 log that i'm missing the following file: . . . sed: stdout: Broken pipe cat: stdout: Broken pipe /libexec/ld-elf.so.1: Shared object libtasn1.so.3 not found, required by libgs.so.8 sed: stdout: Broken pipe cat: stdout: Broken pipe /libexec/ld-elf.so.1: Shared object libtasn1.so.3 not found, required by libgs.so.8 sed: stdout: Broken pipe cat: stdout: Broken pipe /libexec/ld-elf.so.1: Shared object libtasn1.so.3 not found, required by libgs.so.8 . . . moments ago, i rebuilt security/libtasn1, then cd'd into /usr/local/lib and did a # co libtasn1.so libtasn1.so.3 _now_ a test of % lpr /etc/fstab works. from the apsfilter log, it lookas as tho i need to upgrade this libgs.so.8 shared library. but *how* do i find who/what build this library? thanks, gary ps: just a FWIW; i've always had major pains with printing with unix. and linux, and sun, and godknows only dos/windoze sees to yhave this stuff automated. Any insights here are v welcome!! -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lpr fixed, but the wrong-way... [?]
On Fri, Feb 06, 2009 at 11:17:13AM -0800, Gary Kline wrote: % lpr /etc/fstab works. from the apsfilter log, it lookas as tho i need to upgrade this libgs.so.8 shared library. but *how* do i find who/what build this library? % grep -l libgs /var/db/pkg/*/+CONTENTS -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lpr fixed, but the wrong-way... [?]
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lpr fixed, but the wrong-way... [?]
On Fri, Feb 06, 2009 at 02:10:23PM -0600, David Kelly wrote: On Fri, Feb 06, 2009 at 11:17:13AM -0800, Gary Kline wrote: % lpr /etc/fstab works. from the apsfilter log, it lookas as tho i need to upgrade this libgs.so.8 shared library. but *how* do i find who/what build this library? % grep -l libgs /var/db/pkg/*/+CONTENTS close, but grepping for libgs found a slew of ports but doing a grep -l libgs.so found print/ghostscript8, :-) thankee! gary -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org