My *guess* would be the SWIG version. I believe that's CentOS 6 + Swig
1.x.x, or is it CentOS 7? Try using Swig 2.0+ (that's at least what OB
community always suggest).
----
Pozdrawiam, | Best regards,
Maciek Wójcikowski
[email protected]
2015-04-27 5:10 GMT+02:00 Greg Landrum <[email protected]>:
>
> On Mon, Apr 27, 2015 at 12:10 AM, Gianluca Sforna <[email protected]>
> wrote:
>
>> Is there anyone with more Java-foo who can help me?
>> I am trying to add the Java swig wrappers to the RPM packages I build
>> for rdkit releases, but right now I am stuck at making the tests work.
>>
>> Basically, I am doing something like:
>>
>> - compile rdkit
>> - set RDBASE, LD_LIBRARY_PATH=$RDBASE/lib, PYTHONPATH=$RDBASE,
>> CLASSPATH=$LD_LIBRARY_PATH variables
>> - run tests
>>
>>
> That looks right to me
>
>
>> Error messages indicate libraries are not found, like:
>>
>> There was 1 failure:
>> 1) org.RDKit.AromaticTests
>> java.lang.UnsatisfiedLinkError:
>>
>> /builddir/build/BUILD/rdkit-Release_2015_03_1beta1/Code/JavaWrappers/gmwrapper/libGraphMolWrap.so
>> :
>> /builddir/build/BUILD/rdkit-Release_2015_03_1beta1/Code/JavaWrappers/gmwrapper/libGraphMolWrap.so:
>> undefined symbol: _ZTVN5RDKi
>> t9MolDraw2DE
>>
>> Any idea?
>>
>
> This is an unusual one. The SWIG wrappers do not do dynamic linking on
> linux, so it's not connected to LD_LIBRARY_PATH (the usual first guess).
>
> What is the output you get if you remove the file:
>
> /builddir/build/BUILD/rdkit-Release_2015_03_1beta1/Code/JavaWrappers/gmwrapper/libGraphMolWrap.so
> and then build just the wrapper again with:
> VERBOSE=1 make GraphMolWrap
>
> I'm curious to see what the final link command looks like.
>
> Best,
> -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
>
>
------------------------------------------------------------------------------
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