I jsut had this same problem. I just downloaded expat from unixpackages.com site which needs your valid id and password to login. Solaris package which you just have to install with pkgadd pkgname. This will add expat library which will resolve this problem.