I was trying to use Xuggler ( http://www.xuggle.com/ ) with play! framework. I’m using Mac OSX and also created the ~/.MacOSX/environment.plist file with xuggler path. I also set these in my ~/.bashrc
export XUGGLE_HOME=/usr/local/xuggler
export LD_LIBRARY_PATH=$XUGGLE_HOME/lib
I put all the jars in the /lib folder of my play! application and updated the dependencies.yml like the following –
require:
- play
- provided -> xuggle-xuggler
repositories:
- provided:
type: local
artifact: "${application.path}/lib/xuggle-xuggler.jar"
contains:
- provided -> *
BTW, I also ran play dependencies and it is still giving this error –
UnsatisfiedLinkError occured : no xuggle-xuggler in java.library.path
How can I fix this?
This error points to a problem with linking to a DLL file, so I checked the Xuggler docs for installation, and it had a section specifically to deal with this type of error.
http://wiki.xuggle.com/Frequently_Asked_Questions#Installation_Questions
It has the following, as a set of instructions you should follow to solve the error.