MadAnalysis installation: error: the library building aborted.

Asked by Lucrezia Bruni

Hi,
I am trying to install MadAnalysis 5 on CERN lxplus.
When I type bin/ma5 the output is:

Platform: Linux 2.6.32-504.3.3.el6.x86_64 [Linux mode]
Reading user settings ...
Checking mandatory packages:
     - python [OK]
     - python library: numpy [OK]
     - g++ [OK]
     - GNU Make [OK]
     - Root [OK]
     - PyRoot libraries [OK]
Checking optional packages:
     - pdflatex [OK]
     - latex [OK]
     - dvipdf [OK]
     - zlib [OK]
     - FastJet [DISABLED]
 ** WARNING: The FastJet is package not found.
 ** WARNING: JetClustering algorithms will be disabled.
 ** WARNING: To enable this functionnality, please type 'install fastjet'.
     - Delphes [DISABLED]
 ** WARNING: Header file called '/modules/ParticlePropagator.h' not found.
 ** WARNING: Delphes ROOT format will be disabled.
 ** WARNING: To enable this format, please type 'install delphes'.
     - Delphes-MA5tune [DISABLED]
 ** WARNING: DelphesMA5tune folder not found.
 ** WARNING: Delphes-MA5tune ROOT format will be disabled.
 ** WARNING: To enable this format, please type 'install delphesMA5tune'.
     - Recasting tools [DISABLED]
 ** WARNING: Recasting tools are not found and will be disabled.
 ** WARNING: To enable this functionnality, please type 'install RecastingTools'.
Checking the MadAnalysis library:
  => First use of MadAnalysis (or the library is missing).

   **********************************************************
                Building SampleAnalyzer libraries
   **********************************************************
   How many cores for the compiling? default = max = 8
   Answer: 8
   => Number of cores used for the compilation = 8
   Writing the setup files ...
   Writing all the Makefiles ...
   **********************************************************
   Component 1/6 - library: SampleAnalyzer commons
     - Cleaning the project before building the library ...
     - Compiling the source files ...
     - Linking the library ...
 ** ERROR: impossible to link the project. For more details, see the log file:
 ** ERROR: /afs/cern.ch/user/l/lbruni/MG5_aMC_v2_2_2/MadAnalysis5/madanalysis5/tools/SampleAnalyzer/Commons/linking.log
 ** ERROR: The library building aborted.

The log file is:

g++ -shared -o ../Lib/libcommons_for_ma5.so Base/Configuration.o Base/TaggerBase.o Base/TestBase.o DataFormat/PdgDataFormat.o DataFormat/PdgTable.o Service/ConvertService.o Service/DisplayService.o Service/ExceptionService.o Service/LogReport.o Service/LogService.o Service/LogStream.o Service/LoopService.o Service/PDGService.o Service/Physics.o Service/SortingService.o Service/TimeService.o Service/TransverseVariables.o -L/usr/lib64/root -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic -lEG
/usr/bin/ld: cannot find -lEG
collect2: ld returned 1 exit status
make: *** [link] Error 1

I don't know how to solve this problem...
Thank you,

Lucrezia

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi,

This is related to the root installation, the library libEG.so being not available. Maybe do you need to reinstall root or to correctly set your environment variables.

Regards,

Benjamin

On 02 Feb 2015, at 17:26 , lucr_bru <email address hidden> wrote:

> New question #261578 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/261578
>
> Hi,
> I am trying to install MadAnalysis 5 on CERN lxplus.
> When I type bin/ma5 the output is:
>
> Platform: Linux 2.6.32-504.3.3.el6.x86_64 [Linux mode]
> Reading user settings ...
> Checking mandatory packages:
> - python [OK]
> - python library: numpy [OK]
> - g++ [OK]
> - GNU Make [OK]
> - Root [OK]
> - PyRoot libraries [OK]
> Checking optional packages:
> - pdflatex [OK]
> - latex [OK]
> - dvipdf [OK]
> - zlib [OK]
> - FastJet [DISABLED]
> ** WARNING: The FastJet is package not found.
> ** WARNING: JetClustering algorithms will be disabled.
> ** WARNING: To enable this functionnality, please type 'install fastjet'.
> - Delphes [DISABLED]
> ** WARNING: Header file called '/modules/ParticlePropagator.h' not found.
> ** WARNING: Delphes ROOT format will be disabled.
> ** WARNING: To enable this format, please type 'install delphes'.
> - Delphes-MA5tune [DISABLED]
> ** WARNING: DelphesMA5tune folder not found.
> ** WARNING: Delphes-MA5tune ROOT format will be disabled.
> ** WARNING: To enable this format, please type 'install delphesMA5tune'.
> - Recasting tools [DISABLED]
> ** WARNING: Recasting tools are not found and will be disabled.
> ** WARNING: To enable this functionnality, please type 'install RecastingTools'.
> Checking the MadAnalysis library:
> => First use of MadAnalysis (or the library is missing).
>
> **********************************************************
> Building SampleAnalyzer libraries
> **********************************************************
> How many cores for the compiling? default = max = 8
> Answer: 8
> => Number of cores used for the compilation = 8
> Writing the setup files ...
> Writing all the Makefiles ...
> **********************************************************
> Component 1/6 - library: SampleAnalyzer commons
> - Cleaning the project before building the library ...
> - Compiling the source files ...
> - Linking the library ...
> ** ERROR: impossible to link the project. For more details, see the log file:
> ** ERROR: /afs/cern.ch/user/l/lbruni/MG5_aMC_v2_2_2/MadAnalysis5/madanalysis5/tools/SampleAnalyzer/Commons/linking.log
> ** ERROR: The library building aborted.
>
>
> The log file is:
>
> g++ -shared -o ../Lib/libcommons_for_ma5.so Base/Configuration.o Base/TaggerBase.o Base/TestBase.o DataFormat/PdgDataFormat.o DataFormat/PdgTable.o Service/ConvertService.o Service/DisplayService.o Service/ExceptionService.o Service/LogReport.o Service/LogService.o Service/LogStream.o Service/LoopService.o Service/PDGService.o Service/Physics.o Service/SortingService.o Service/TimeService.o Service/TransverseVariables.o -L/usr/lib64/root -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic -lEG
> /usr/bin/ld: cannot find -lEG
> collect2: ld returned 1 exit status
> make: *** [link] Error 1
>
> I don't know how to solve this problem...
> Thank you,
>
> Lucrezia
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

Provide an answer of your own, or ask Lucrezia Bruni for more information if necessary.

To post a message you must log in.