From: S J. S. <swa...@gm...> - 2005-12-09 19:53:04
|
It works! Add this code to the openbabel.i file to add the patch to the .py library f= ile: %pythoncode %{ import sys import dl sys.setdlopenflags(sys.getdlopenflags() | dl.RTLD_GLOBAL) %} You may want to add a python snippet to execute this code only if the architecture is Linux. Thanks for the help :) Josh On 09/12/05, Geoffrey Hutchison <ge...@ge...> wrote: > > On Dec 9, 2005, at 12:17 PM, Noel O'Boyle wrote: > > > (1) Is Python scripting for Openbabel available in Windows somehow? > > I don't have a Windows box to test. I'm also not sure how it would > link against the Windows OpenBabel DLLs. > > > (2) Is it necessary to compile? > > Well, I believe you can get DLLs either from the Open Babel windows > download or from Chris Morley. Certainly you *can* compile on Windows. > > > (3) What's the current status of Cygwin/OpenBabel compilation? > > So-so. I know the problem, but haven't had the time to fix it or test > it. > > Cheers, > -Geoff > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > OpenBabel-scripting mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-scripting > |