Re: Python and ROOT

From: <WLavrijsen_at_lbl.gov>
Date: Tue, 8 Jul 2008 10:57:09 -0700


Marc,

> This symbol is in libCore.so, so I'm curious why the error is generated in
> libASImage.so. I have checked that I link against libCore.so and anyway the
> problem occurs at loading time. My LD_LIBRARY_PATH is set correctly (my C++
> code wouldn't work if not). Loading the libraries directly in Python
> reproduces the problem.

two possible reasons: the library that loads libCore is not opening it with RTLD_GLOBAL, or you have two versions of the library loaded in two different linker namespaces.

> Does anyone know what goes on here?

Setting LD_DEBUG to 'symbols' should give a clue. It will show which libs are considered for resolving the symbol that appears to be missing.

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 08 2008 - 19:55:06 CEST

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