I have a project in which I need to convert PDF file into png using ghost4j. The issue I am facing is that when I run my java code the console throws me this error:
Unable to load library 'gs': dlopen(libgs.dylib, 9): image not found
I googled this error and found that I also need to install ghost script and make some changes in the file libgs.dylib
. I have installed ghost script using Mac Port but I am not able to find where this file libgs.dylib
is located on my file system. I am clueless what to do next. Need Help.
-PS I am using Mac OS X 10.9.2 as my development environment.