Rootmap files and automatic loading of libs, root 5.15/07

Hi all,

Upgrading to root 5.15 I ran into the same problem described and discussed in root.cern.ch/phpBB2/viewtopic.php?t=4778

But, I’m unable to solve my problem… I have a class, for this class I make a rootmap file
containing

Library.TNT2pulseshape: /home/jljungva/root/lib/root/libtnt2pulseshape.so /home/jljungva/root/lib/root/libCore.so /home/jljungva/root/lib/root/libGraf.so

In a root-session I do

root>.L /home/jljungva/root/lib/root/libtnt2pulseshape.
root> TNT2pulseshapes test(“thepulses”,“TNT2”);
/home/jljungva/root/bin/root.exe: symbol lookup error: /home/jljungva/root/lib/root/libtnt2pulseshape.so: undefined symbol: _ZN6TGraphC1Ei

If I before loading my lib do

root> TGraph bla(
.
.
.

It works: root has loaded libGraf.so for me.
The lib and rootmap file is in the same directory as all the root .so files.

Any suggestions? The paths I use are links, (ln -s …). Is that a problem?

kind regards

Joa

Forgot…

g++ (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)

root 5.15/07

2.6.9-42.0.3.ELsmp #1 SMP Thu Oct 5 16:29:37 CDT 2006 x86_64 x86_64 x86_64 GNU/Linux

cheers

Joa

Hi all,

Sorry, it works… I don’t, all of the time;)

cheers

Joa