When I tried to render a dvi file with embedded eps graphics using xdvi the images where not displayed and in the console window a gs error message appeared: gs: ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps. xdvik gs_io: Broken pipe xdvik gs_io: Broken pipe ghostscript died unexpectedly. Reproducible: Always Steps to Reproduce: 1. xdvi <dvi file with eps images> Actual Results: The document was displayed with no images, just empty frames. Expected Results: Display the images. ghostscript version is ghostscript-7.05.6-r3 To resolve the problem, I had to set GS_LIB manually: export GS_LIB=/usr/share/ghostscript/7.05/lib:/usr/share/ghostscript/fonts Normally, this should be the compiled-in default (see: man gs).
what's the output of `gs -h`?
I guess you just want to see the search path, so I skipped everything else. => gs -h ESP Ghostscript 7.05.6 (2003-02-05) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. [...] Search path: . : /home/dheinric/.kde/share/fonts : /gentootmp/portage/ghostscript-7.05.6-r3/image//usr/share/ghostscript/7.05/lib : /gentootmp/portage/ghostscript-7.05.6-r3/image//usr/share/ghostscript/fonts : /usr/share/fonts/default/ghostscript : /usr/share/fonts/default/Type1 : /usr/share/fonts/default/TrueType : /usr/lib/DPS/outline/base : /usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType I see, it has the image location built in.
that's really strange, it has your portage build directory built in, try to recompile ghostscript.
Re-emerging fixed it.
fine -> close :)
*** Bug 27696 has been marked as a duplicate of this bug. ***