# How do I use psvectorian with xelatex

I can't successfully compile a simple psvectorian example using xelatex.

I found two answers here and here on SE but neither works for me. I have tried

1. with TeXShop, with the settings shown here.
2. with the command line, using xelatex test.tex.

Below are the output errors from both attempts.

Where have I gone wrong?

The console from TexShop is as follows:

This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015)
....
....
(/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/graphics.cfg)))) (./test.aux) [1] (./test.aux)
xdvipdfmx:fatal: File ended prematurely

Output file removed. ) Error 256 (driver return code) generating
output;
file test.pdf may not be valid.

The error from the command line build is as follows:

/usr/local/texlive/2015basic/texmf-dist/tex/latex/latexconfig/graphics.cfg))))
(/tmp/test.aux) [1] (/tmp/test.aux)
...

The MWE I am using is from the first link, and as follows:

\documentclass{article}
\usepackage{psvectorian,fancyhdr,lipsum,multido}
\pagestyle{fancy}
\fancyfoot[C]{%
\makebox[0pt]{\thepage}%
\smash{\raisebox{-\baselineskip}{\makebox[0pt]{\psvectorian[width=\textwidth,height=\baselineskip]{85}}}}}
\begin{document}

\lipsum[1]

\begin{center}
\psvectorian[width=.3\textwidth,height=\baselineskip]{47}
\end{center}

\lipsum[2]

\begin{center}

• I can compile this successfully with xelatex – user31729 Jan 9 '16 at 11:07
• The error message indicates that ghostscript isn't found or not installed at all – user31729 Jan 9 '16 at 11:19