Thanks for the explanation.
,
Josh. 

> -----Original Message-----
> From: Mladen Turk [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 09, 2006 11:19 AM
> To: Tomcat Users List
> Subject: Re: Native Connector Question
> 
> 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]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to