Thanks Greg and Gianluca,

The machine I had been build RDKit was having some major Cmake issues, but
I am through that now.  I did a fresh install of CentOS (this time version
6.5) and a new copy of Swig (2.0.10) and things compiled without issue.
So, I have the most recent version of RDKit built and everything has passed
the tests.

Still I have the following issue, using the Swig compiled jars in my own
code:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
   org.RDKit.RDKFuncsJNI.RWMol_MolFromMolFile__SWIG_2(Ljava/lang/String;)J
at
   org.RDKit.RDKFuncsJNI.RWMol_MolFromMolFile__SWIG_2(Native Method) at
   org.RDKit.RWMol.MolFromMolFile(RWMol.java:472) at
autocorrelator.apps.SdfFilter.main(SdfFilter.java:71)

I don't have an issue compiling my java code, but I am doing that with
ant.  I am executing this code (SdfFilter) from the command line.  I have
the location (and jar file handle) to org.RDKit.jar in my classpath, and I
have the path to GraphMolWrap.so in my LD_LIBRARY_PATH.  Is there something
else in the environment I need to set up to get through the
UnsatisfiedLinkError?

Thanks for your patience with my build issues!
Matt





On Sun, Jan 12, 2014 at 4:47 AM, Gianluca Sforna <gia...@gmail.com> wrote:

> On Sat, Jan 11, 2014 at 1:45 AM, Matthew Lardy <mla...@gmail.com> wrote:
> > I
> > don't know who's fault it is (CentOS's for rolling with a prehistoric
> > version of boost, CMake for just being frustrating in general, or Boost
> for
> > not building the FindBoost.cmake from a user compile).  If anyone has a
> > workaround, I am all ears.  :)
>
> The rpm I build for CentOS 6 works with the boost version included
> with the distro, so I guess you are hitting some other issue. However,
> further diagnosis without seeing specific commands given and output
> received is very hard.
>
> If you are interested, I recently rebuild rdkit in copr and you can
> find the resulting binary RPMs here:
> http://copr.fedoraproject.org/coprs/giallu/rdkit/
>
> Regards
>
> Gianluca
>
> --
> Gianluca Sforna
>
> http://morefedora.blogspot.com
> http://identi.ca/giallu - http://twitter.com/giallu
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to