Unable to load library 'gs' with Ghost4J

我是研究僧i 提交于 2019-12-06 08:11:44
Wyetro

So I have figured it out!

I found the answer in this conversation:

I had the same problem, although I had installed macports package "ghostscript" already. Setting LD_LIBRARY_PATH helped:

$ export LD_LIBRARY_PATH=/opt/local/lib

This caused a warning message:

log4j:WARN No appenders could be found for logger (slideselector.facedata.FaceDataParser).
log4j:WARN Please initialize the log4j system properly.

Which was solved by the help of: How to initialize log4j properly?

For all maven guys like me: put the log4j.properties into src/main/resources

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!