I\'m running a library via JNI (I didn\'t write it), and internally it calls another DLL. I get an error saying \"Can\'t find dependent libraries\" unless I put the path of
For me, making a static build worked, which compiles with:
g++ -static
It adds the dependent libraries in the build itself.