From: Noel O'B. <bao...@gm...> - 2008-12-17 09:24:57
|
2008/12/16 Nathan Rice <exn...@gm...>: >> It shouldn't be necessary to to copy libopenbabel.so anywhere. Don't >> the instructions in the readme describe how to set LD_LIBRARY_PATH to >> point to the directory containing libopenbabel.so? Have you tried >> this? > > I did try that, I have two copies of libopenbabel.so, one which was created > and installed on initial make install of the core package (filesize ~12M), > and a second one which was in my scripts/java/ directory (filesize ~2M). > The one that is in my scripts/java directory is the one that has to be in > the same directory as OBTest. The LD_LIBRARY_PATH points to the other one. > Is this incorrect? The two libopenbabel.so files are different (we should probably rename the small one). As described in the README, the PATHs to both should be added to LD_LIBRARY_PATH (in the order shown in the README - this is important). It shouldn't be necessary to use LD_PRELOAD if these are set correctly. If this is done, it might help solve your problems with Eclipse also. BTW, you are unlikely to get a useful response over at openbabel-discuss, as very few people will be using the Java bindings, which were only released in an experimental form in the last OB release. - Noel |