Problem 656

Summary: A01 does not link with granular shared libraries
Product: Examples/Extended Reporter: tkoi
Component: analysis/A0Assignee: Gunter.Folger
Status: RESOLVED FIXED    
Severity: normal CC: Gabriele.Cosmo
Priority: P2    
Version: 6.2   
Hardware: Other   
OS: Linux   

Description tkoi 2004-08-02 19:12:27 CEST
The A01 example fails to link with granular shared libraries.

When I add EXTRALIBS which deleted at tag "exampleA01-V06-02-00" to had.gmk,
it can be linked well. (See Bug Report #647)

A01 links well with global (shared and static) and static granular libraries
current configuration.
Comment 1 Gabriele Cosmo 2004-09-03 05:24:59 CEST
Unfortunately this denotes a design problem in the way the hadronic
physics-lists module is organised. The 'builder' classes included in the
hadronic_lists package should be included in the hadronic kernel libraries
instead.
At the current stage, hadronic_lists should NOT be built as shared libraries,
but ONLY as static libraries.
By doing so, A01 can be linked successfully.
The other possibility is that in A01 you get rid of the dependency over the
hadronic_lists package and instead includes the relevant physics-lists in the
example itself.
I'm assigning this problem to Gunter to investigate if an alternative solution
is possible for the treatment of shared libraries in our configuration
management system for this particular case.
Comment 2 Gabriele Cosmo 2005-05-23 04:02:59 CEST
*** Bug 749 has been marked as a duplicate of this bug. ***
*** 'Gunter.Folger@cern.ch' will be responsible for bug 749. ***
Comment 3 Gabriele Cosmo 2006-10-06 09:28:59 CEST
A01 no longer uses the packaged physics-lists. The problem is closed, although the issue with
the usage of shared-libs for the physics-lists with granular-libs for the kernel persists and is
well known.