Re: Python and C++ code calling ROOT

From: <WLavrijsen_at_lbl.gov>
Date: Tue, 15 Jul 2008 11:12:09 -0700


Marc,

> >>> import Dynamic
> 
> dlopen error: /usr/not-backed-up/root/lib/root/libGX11.so: undefined symbol:
> _ZNK7TObject7DoErrorEiPKcS1_Pc

but have you already tried the RTLD_GLOBAL change that I mentioned before, which would be something like this:

>>> dlflags = sys.getdlopenflags()
>>> sys.setdlopenflags( 0x100 | 0x2 ) # RTLD_GLOBAL | RTLD_NOW
>>> import Dynamic
>>> sys.setdlopenflags( dlflags )
>>>

Best regards,

           Wim

-- 
Wim.Lavrijsen_at_cern.ch   --   WLavrijsen_at_lbl.gov   --   www.lavrijsen.net

"Your day will be somewhat dictated by authority."      --fortune cookie
Received on Tue Jul 15 2008 - 20:09:13 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 15 2008 - 23:50:02 CEST