On Wed, Apr 29, 2015 at 9:48 AM, Gianluca Sforna <[email protected]> wrote:
> On Tue, Apr 28, 2015 at 5:59 AM, Greg Landrum <[email protected]>
> wrote:
> >
> > There's certainly no reason why the java wrappers shouldn't work if they
> are
> > dynamically linked; I just tried it on my ubuntu box and they work fine.
> I
> > don't normally do it because it would make distributing the wrappers for
> > knime much more complex.
>
> Tried running the tests or a minimal example?
>
I just ran the tests.
> >
> > I didn't see anything suspicious or odd in the build command.
> > Have you tried making sure that you are picking up the correct shared
> libs
> > by doing an ldd on libGraphMolWrap.so and confirming that it's using the
> > right libraries?
> >
>
> It seems correct:
>
<snip>
agreed, that doesn't seem to be the problem.
> However, I found that if you run java with the -cp option (as we do in
> tests) then the CLASSPATH env variable is ignored. I think this can be
> the reason why I have missing symbols. I hope to find a way to
> workaround this.
The other thing the tests do, and I'm not sure how relevant it is to you,
is set the java.library.path like this:
"-Djava.library.path=/scratch/RDKit_git/Code/JavaWrappers/gmwrapper"
-greg
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss