On Thu, Nov 15, 2007 at 08:22:33PM -0500, Hazen Babcock wrote:
> 
> libplplotd gets the .dylib extension. Python does not, nor do any of  
> the drivers (all .so) but only Java complains. It appears that  
> somewhere between 5.7.0 and 5.7.1 something was changed so that java  
> would only use plplotjavac_wrap.dylib. In 5.7.0 java was happy enough  
> to use plplotjavac_wrap.so.

The only difference I can see with the main plplot library is that the
call to add_library does not explicitly add the library type (MODULE) in 
this case.

The drivers explicitly have the extension set to .so as the dynamic
loader library requires this. The java wrappers are loaded by the java
virtual machine and so may well use the system conventions. Why this has
changed between versions, I don't know. Have you upgraded your java at
all?

> >As a fix, I've added code to explicitly set the suffix for the java
> >wrapper library. Hazen, can you test this?
> 
> The extension is .dylib, but with that change, which I just  
> committed, it works now.

Whoops - sorry. Glad it works anyway.

Andrew

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to