On Tue, Nov 19, 2013 at 7:17 AM, H Rajesh <h_raj...@jubilantbiosys.com>wrote:

> Dear All,
>
>
>
> Currently we are developing a Java application in Cent OS, and facing
> difficulty to integrate Openbabel API:
>
>  *.....*
>
> *Error received while compiling the Sample Test code*
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /root/libope2/libopenbabel_java.so: /root/libope2/libopenbabel_java.so:
> undefined symbol: _ZTVN9OpenBabel22OBEnergyConformerScoreE
>
>                 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>
>                 at
> java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
>
>                 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
>
>                 at java.lang.Runtime.loadLibrary0(Runtime.java:840)
>
>                 at java.lang.System.loadLibrary(System.java:1047)
>
>                 at
> org.orion.plancore.util.openbabelimpl.Test.main(Test.java:10)
>

The first thing to check is whether your CentOS system came with OpenBabel
already installed. A common reason for this error is that there are two
versions of OpenBabel, one that comes with Linux (OpenBabel is included
with many Linux distributions), and one that you compiled yourself.  Your
Java program could be compiled against one version (probably the version
you installed), but at run time, it's linking to the pre-installed version
of OpenBabel.

Craig
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to