ghostscript-7.07.1-r1 compiled with USE=X failed to find libXt.so.6 whereas libXt.so.6 is in /usr/X11R6/lib and /usr/X11R6/lib is in /etc/ld.so.conf and ldconfig had been ran. cups returns : D [24/Mar/2004:18:47:55 +0100] [Job 107] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=HP LaserJet' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [24/Mar/2004:18:47:55 +0100] [Job 107] gs: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory D [24/Mar/2004:18:47:55 +0100] [Job 107] renderer return value: 127 D [24/Mar/2004:18:47:55 +0100] [Job 107] renderer received signal: 127 D [24/Mar/2004:18:47:55 +0100] [Job 107] tail process done writing data to STDOUT D [24/Mar/2004:18:47:55 +0100] [Job 107] KID4 finished D [24/Mar/2004:18:47:55 +0100] [Job 107] D [24/Mar/2004:18:47:55 +0100] [Job 107] Closing renderer D [24/Mar/2004:18:47:55 +0100] [Job 107] KID4 exited with status 0 D [24/Mar/2004:18:47:55 +0100] [Job 107] Process dying with "The renderer command line returned an unrecognized error code 127.", exit stat: 1 D [24/Mar/2004:18:47:55 +0100] [Job 107] The renderer command line returned an unrecognized error code 127. D [24/Mar/2004:18:47:55 +0100] [Job 107] KID3 exited with status 1 D [24/Mar/2004:18:47:55 +0100] [Job 107] Renderer exit stat: 1 D [24/Mar/2004:18:47:55 +0100] [Job 107] Renderer process finished D [24/Mar/2004:18:47:55 +0100] [Job 107] Killing process 28751 (KID3) D [24/Mar/2004:18:47:55 +0100] [Job 107] Process dying with "Error closing renderer", exit stat: 1 D [24/Mar/2004:18:47:55 +0100] [Job 107] Error closing renderer E [24/Mar/2004:18:47:55 +0100] PID 28745 stopped with status 1! D [24/Mar/2004:18:47:55 +0100] UpdateJob: job 107, file 0 is complete. I can't figure out if it's a ghostscript's bug or it it's an ebuild's bug. The only fix that let me print is to compile ghostscript with USE=-X
what is the output of ldd /usr/bin/gs ?
i had no more this version of gs installed, but when i do the ldd on gs to find the "problem" it shows some thing like : libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x402b2000) (the number was may be different, i don't remember) must i re-emerge gs with USE=X to show you ?
yes, please recompile with USE="X" and append a log of the emerge process
Created attachment 28312 [details] the emerge log file using +X and the ldd : fred@gandalf fred $ ldd /usr/bin/gs linux-gate.so.1 => (0xffffe000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40035000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40085000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40093000) libpng.so.3 => /usr/lib/libpng.so.3 (0x4016f000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4019a000) libz.so.1 => /lib/libz.so.1 (0x401b8000) libcupsimage.so.2 => /usr/lib/libcupsimage.so.2 (0x401c9000) libcups.so.2 => /usr/lib/libcups.so.2 (0x401dc000) libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401f8000) libm.so.6 => /lib/libm.so.6 (0x40245000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40267000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40297000) libnsl.so.1 => /lib/libnsl.so.1 (0x40394000) libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x403a9000) libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x403ac000) libdl.so.2 => /lib/libdl.so.2 (0x403d1000) libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x403d4000) libc.so.6 => /lib/libc.so.6 (0x4048c000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x405b9000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x405c1000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1 (0x405d8000) and i always get this error in my cups error_log : [29/Mar/2004:23:15:45 +0200] [Job 114] gs: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory is it a bug in foomatic-gswrapper ? in hpijs driver ? in hpoj driver ? must i test gs without foomatic-gswrapper ? how ? 'gs print.pdf' show me a good pdf in X and i repeat that all work when i compile gs with USE="-X"
hm, try to remerge xfree
did remerging xfree help?