Dear All,
Currently we are developing a Java application in Cent OS, and facing
difficulty to integrate Openbabel API:
I have attached Sample Test Code, Errors received and System library file
details here by.
Appreciate if someone can guide us to overcome this issue. If possible, Could
someone provide me a working bundle of '.so' files, compiled for CentOS?
Sample Test Code
package test.openbabelimpl;
import org.openbabel.*;
public class Test {
public static void main(String[] args) {
System.loadLibrary("openbabel_java");
OBConversion conv = new OBConversion();
OBMol mol = new OBMol();
.............
.............
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)
System library Files available in folder /root/libope2/
-rwxr-xr-x. 1 root root 3.1M Sep 17 20:24 libinchi.so
-rwxr-xr-x. 1 root root 3.1M Sep 17 20:24 libinchi.so.0
-rwxr-xr-x. 1 root root 3.1M Sep 17 20:24 libinchi.so.0.4.1
-rwxr-xr-x. 1 root root 6.2M Sep 17 20:24 libopenbabel_java.so
-rwxr-xr-x. 1 root root 20M Sep 17 20:24 libopenbabel.so
-rwxr-xr-x. 1 root root 20M Sep 17 20:24 libopenbabel.so.4
-rwxr-xr-x. 1 root root 20M Sep 17 20:24 libopenbabel.so.4.0.2
Note
We have compiled these system files in CentOS from the openbabel source.
Thanks and regards
Rajesh Hariharan
The information contained in this electronic message and in any attachments to
this message is confidential, legally privileged and intended only for use by
the person or entity to which this electronic message is addressed. If you are
not the intended recipient, and have received this message in error, please
notify the sender and system manager by return email and delete the message and
its attachments and also you are hereby notified that any distribution,
copying, review, retransmission, dissemination or other use of this electronic
transmission or the information contained in it is strictly prohibited. Please
note that any views or opinions presented in this email are solely those of the
author and may not represent those of the Company or bind the Company. Any
commitments made over e-mail are not financially binding on the company unless
accompanied or followed by a valid purchase order. This message has been
scanned for viruses and dangerous content by Mail Scanner, and is believed to
be clean. The Company accepts no liability for any damage caused by any virus
transmitted by this email.
www.jubl.com
------------------------------------------------------------------------------
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