On Tue, Nov 13, 2007 at 09:43:33PM -0500, Hazen Babcock wrote: > > Hello, > > On OS-X the java tests are failing because java is having trouble > finding plplot.core.config.libname. This is because it is looking for: > /usr/local/lib/jni/plplotjavac_wrap.dylib > > but the library is actually called: > /usr/local/lib/jni/plplotjavac_wrap.so > > I'm not sure which is right, though on OS-X libraries usually have > a .dylib extension. Simply renaming the library file solves the > problem and PLplot passes the java tests. > > -Hazen
I'm slightly confused about this. Plplot uses the swig_add_module macro from UseSWIG to build the wrapper library. Internally this uses add_library to set up the library. This should deal with all the system specific aspects. It's what we use for the rest of the plplot library. I assume you correctly get the .dynlib prefix for the rest of plplot? As a fix, I've added code to explicitly set the suffix for the java wrapper library. Hazen, can you test this? Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel