GetSharedLibs fails in 5.30.04?

Hi,
I’ve noticed what looks to me like a funny behavior in 5.30.04 and above (in the 5.30 series, 5.32 is back to the old way). Here is what I see:

[code] *******************************************

  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.30/04 8 November 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.30/04 (tags/v5-30-04@41807, Nov 08 2011, 14:28:58 on win32)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] c = TClass::GetClass(“TObject”)
(class TClass*)0x339f830
root [1] c->GetSharedLibs()
(const char* 0x0)""[/code]

Note that it has no shared libraries… I find this “odd”… In 5.30.01, however (as with others) I see this:

[code] *******************************************

  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.30/01 8 August 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.30/01 (tags/v5-30-01@40633, Aug 18 2011, 16:46:17 on win32)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] c = TClass::GetClass(“TObject”)
(class TClass*)0x2d4fd68
root [1] c->GetSharedLibs()
(const char* 0x3a37658)"libCore.dll"
root [2][/code]

Is this a bug, or is this a design change that is happening in ROOT?

Many thanks! Gordon.

Hi Gordon,

It works for me on lxplus:

[code][lxplus254] ~ $ root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.30/04 8 November 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.30/04 (tags/v5-30-04@41807, Nov 08 2011, 14:28:58 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] c = TClass::GetClass(“TObject”)
(class TClass*)0x760e7f0
root [1] cout << c->GetSharedLibs() << endl;
libCore.so
root [2]
[/code]
Cheers, Bertrand.

“win32” versus “linuxx8664gcc”?

Oops! #-o

Sorry, :blush: here it is:

[code]C:\Users\bellenot\rootdev>root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.30/04 8 November 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.30/04 (tags/v5-30-04@41807, Nov 08 2011, 14:28:58 on win32)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] c = TClass::GetClass(“TObject”)
(class TClass*)0x26cfe88
root [1] cout << c->GetSharedLibs() << endl;
libCore.dll
root [2][/code]
Cheers, Bertrand.

“Release” versus “Debug” version (which binaries exactly)? :mrgreen:
MS VC version specific (which MS VC version)? :mrgreen:
Gordon, why don’t you move to Linux in the first place? :wink:

Hi,
Weird. THis is win32, VC10, and W7. Not debug version. I’ve tested this on two different machines… I tested it by using the raw installer (the msi).

This isn’t crucial for stuff I’m doing - it does break my wrapper creation stuff. But only for that series. By the time 5.32 rolls around everything is back to normal. So, I can ignore this.

I should move to Linux, eh? :wink: If I could get it to do what I want… if I could get it to do what I want… :wink:

Cheers, Gordon.