某些服务器使用jsp(SUN企业级应用的首选)脚本支持图型验证码时会报错:
Exception :java.lang.UnsatisfiedLinkError:/usr/local/jdk/jre/lib/i386/libawt.s libXp.so.6: cannot open shared object file: No such file or directory
其中这是因为服务器没有安装图型界面,默认并未安装xorg-x11的包,缺少libXp.so组件
安装如下包即可:
xorg-x11-deprecated-libs-6.8.2-1.EL.13.36.i386.rpm
xorg-x11-libs-6.8.2-1.EL.13.36.i386.rpm
安装完毕,刷新即可正常显示验证码。