Dear OPenBabel Users
I am using OpenBabel in my (Java) application and want to pack this
application and use it in different operating systems like Windows, Linux,
and MacOs.
I have compiled JAVA bindings for OpenBabel using the command
*sudo cmake
/home/vin/openbabel2.4-DCMAKE_INSTALL_PREFIX=~/Tools-DCMAKE_BUILD_TYPE=DEBUG-DJAVA_BINDINGS=ON-DEIGEN3_INCLUDE_DIR=/home/vin/Eigen3-DSWIG_EXECUTABLE=/usr/bin/swig-DRUN_SWIG=ONsudo
make*
The compilation went well and took the libopenbabel_java.so and
libopenbabel.so from the build directory and packed it along with my
application in the directory (app/rescources) and specified the path to the
app/resources directory in the source code
(system.load("/home/vin/app/resources/libopenbabel_java.so")) of my
application for performing an openbabel task.
When I run my application jar file (app.jar) and perform an openbabel task
(generate conformers) I am getting the below error
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
/home/praktikant/OPAS_ALPHA_1.0/resources/libopenbabel_java.so:
*/home/vin/app_ALPHA_1.0/resources/libopenbabel_java.so:
undefined symbol: _ZTVN9OpenBabel30OBMinimizingRMSDConformerScoreE*
By the way, my application runs perfectly fine where OpenBabel is already
installed (like in my development environment). Any hints in the right
direction is highly appreciated. Thank you.
--
Regards
Vinothkumar Mohanakrishnan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss