Fenlason, Josh wrote:
That sucks. Thanks for the pointer though. How come it works on Windows? Thanks.
It won't work if the library you load depends on other library that is not in the PATH, so it's basically the same. For Windows we build tcnative statically linked to OpenSSL and APR, so if you wish to make libtcnatve (uses OpenSSL and APR as dll, then the java.library.path will not work, but you will need to adjust the PATH). If the .dlls are in the same path from which you start the application then the LoadLibrary WIN API will use the working directory as a dll search path, so that's why it seems to work. Try to put the tcnative-1.dll outside bin, and you'll see the difference. Regards, Mladen. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]