> XFILESEARCHPATH=/opt/csw/lib/X11/%T/%N%C:/usr/openwin/lib/%T/%N%C
Preferably use
XFILESEARCHPATH=${XFILESEARCHPATH-%D}
XFILESEARCHPATH=$XFILESEARCHPATH:/opt/csw/lib/X11/%T/%N%S
(%D is the default, and since all components are examined, the
later ones have precedence, so it's kind of in reverse order).
Markus