I ahve all of these xpm packages installed and my wp8 works just fine, so for simplicity, do what I do, grab everything with xpm in the name
ii xpm-bin 3.4j-0.6 X Pixmap libraries - associated binaries ii xpm4-altdev 3.4j-0.6 X Pixmap libraries (for libc5) - development ii xpm4.7 3.4j-0.6 X Pixmap libraries (for libc5) - runtime ii xpm4g 3.4j-0.6 X Pixmap libraries (for libc6) - runtime ii xpm4g-dev 3.4j-0.6 X Pixmap libraries (for libc6) - development --dave