GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » make for PndTools/MVA
Re: make for PndTools/MVA [message #14317 is a reply to message #14315] Wed, 09 January 2013 21:18 Go to previous messageGo to previous message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *cm-4-2b.dynamic.ziggo.nl
Dear Donghee,

According the listing you have mailed me and posted here, the compiler can find the header files. This way compilation goes fine; you see that the object files are created correctly. During the linking, the compiler can not find the libraries. That is the reason for the error; at least as far as I can see; I can merely not reproduce this error.
Furthermore, in your setting of the lib paths I see you are using "{}+" characters. In bash you don't need them for this purpose, as they have another meaning.

export LD_LIBRARY_PATH=${ROOTSYS}/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export LD_LIBRARY_PATH=${ROOTSYS}/tools/root/lib:${LD_LIBRARY_PATH}}

This way if the paths are correct on your PC, then you can change the exports as following:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/tools/root/lib

One other option is just to call the "/buildPandaDir/config.sh" script. This one also should set the paths correctly.

A third option is to add following lines to your .bashrc:

export SIMPATH=PATH_TO_FAIRROOT_INSTALLATION_DIR
export PATH=$PATH:$SIMPATH/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMPATH/lib:$SIMPATH/lib/root

I hope this will solve your problem.

Regards,
MB
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] error after svn update
Next Topic: [FIXED] Problem in runing macro /macro/run/sim_complete.C
Goto Forum:
  


Current Time: Fri Mar 29 13:56:45 CET 2024

Total time taken to generate the page: 0.01045 seconds