What version exactly of Linux and what Java version? But to be honest, I can't think of any obvious problem. You could try a static build (-DBUILD_SHARED=NO), but I don't know if that will work with the bindings.
- Noel On 1 May 2013 16:14, Nick Vandewiele <nick.vandewi...@ugent.be> wrote: > Hi! > > > > The agony of having openbabel_java (2.3.2) work on a 64bit linux machine is > far from over in my case. > > > > The OBTtest.java compiled fine, and the JVM did not crash anymore. However, > OB says benzene has 0 atoms. The answer I can find on the internet, > prepending LD_PRELOAD, did not work for me. > > Any ideas what could have gone wrong? > > > > Cf. here what I used as input in my bash script: > > > > Input: > > export OB_LIBDIR=$HOME/OB/openbabel-install/lib > > export OB_JAVADIR=$HOME/openbabel-2.3.2/scripts/java > > export LD_LIBRARY_PATH=$OB_JAVADIR:$OB_LIBDIR > > export CLASSPATH=.:$OB_JAVADIR/openbabel.jar > > export BABEL_LIBDIR=$OB_LIBDIR > > export BABEL_DATADIR=$HOME/openbabel-2.3.2/data > > > > LD_PRELOAD=$OB_LIBDIR/libopenbabel.so java OBTest > > > > Output: > > Running OBTest... > > Benzene has 0 atoms. > > > > > > Regards, > > Nick > > > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss