[gs-bugs] [Bug 691408] Standard search path is not used for ICC profiles

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sat Jul 10 23:41:59 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691408

--- Comment #27 from Till Kamppeter <till.kamppeter at gmail.com> 2010-07-10 23:41:57 UTC ---
Using absolute paths I get

till at till:~/ghostscript/gpl/gs-test$ LD_PRELOAD=sobin/libgs.so.8.72
GS_LIB=~/ghostscript/gpl/gs-test/Resource/Init:~/ghostscript/gpl/gs-test/lib
sobin/gsc -q -c "currentuserparams /ICCProfilesDir get == flush
quit"(/home/till/ghostscript/gpl/gs-test/iccprofiles/)
till at till:~/ghostscript/gpl/gs-test$ 

which is expected behavior.

But

till at till:~/ghostscript/gpl/gs-test$ cat
~/ghostscript/gpl/testfiles/launch_leaflet.pdf | PPD=/etc/cups/ppd/R220.ppd
LD_PRELOAD=sobin/libgs.so.8.72
GS_LIB=~/ghostscript/gpl/gs-test/Resource/Init:~/ghostscript/gpl/gs-test/lib
sobin/gsc -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups
-sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts
-sMediaClass=Standard -sMediaType=Plain -r720x720 -dDEVICEWIDTHPOINTS=595
-dDEVICEHEIGHTPOINTS=842  -dcupsBitsPerColor=8 -dcupsColorOrder=0
-dcupsColorSpace=1 -dcupsRowFeed=5 -scupsPageSizeName=A4 -c -f -_ > out.raster
2> logtill at till:~/ghostscript/gpl/gs-test$ 

still gives the errors. The errors in the file "log" are:

sfopen: gs_parse_file_name failed.
  ./base/gsicc_manage.c:722: gsicc_open_search(): Could not find
default_rgb.icc
 in root directory
| ./base/gsicc_manage.c:816: gsicc_set_device_profile(): cannot find device
prof
ile

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list