Re: [OpenBabel-Devel] Can't initialize OB internals from swig-generated module

2013-06-11 Thread Craig James
This is an old issue and everyone was baffled before, but I still need to get this to work. To reiterate: I built a typical swig wrapper around some algorithms we use that employ OpenBabel. Everything compiles and links. But when I try to run it, I get this: $ ./swig_wrapper_test.pl

Re: [OpenBabel-Devel] Can't initialize OB internals from swig-generated module

2013-04-04 Thread Noel O'Boyle
I'm all out. Have you looked at the output of ldd on the various library files? This shows which libraries will be dynamically loaded, or whether they cannot be found. - Noel On 4 April 2013 16:20, Craig James wrote: > Hi Noel, > > > On Thu, Apr 4, 2013 at 6:08 AM, Noel O'Boyle wrote: >> >> Lon

Re: [OpenBabel-Devel] Can't initialize OB internals from swig-generated module

2013-04-04 Thread Craig James
Hi Noel, On Thu, Apr 4, 2013 at 6:08 AM, Noel O'Boyle wrote: > Long shot: Are there any files in your current directory with the same > names as files in Open Babel's data directory? This is a nice way to > confuse Open Babel. Have you altered any files in Open Babel's data > directory? > No,

Re: [OpenBabel-Devel] Can't initialize OB internals from swig-generated module

2013-04-04 Thread Noel O'Boyle
Long shot: Are there any files in your current directory with the same names as files in Open Babel's data directory? This is a nice way to confuse Open Babel. Have you altered any files in Open Babel's data directory? Just a note: with Open Babel we moved away from using Makefile.PL as it just wa

[OpenBabel-Devel] Can't initialize OB internals from swig-generated module

2013-04-03 Thread Craig James
This problem is driving me crazy. I have some functions written in C++ with a C wrapper that I need to make available from Perl. I wrote a swig interface for them, and got it to compile and run. But OpenBabel can't seem to initialize itself. ./test/swig_wrapper_test.pl ===