Problem 656 - A01 does not link with granular shared libraries
Summary: A01 does not link with granular shared libraries
Status: RESOLVED FIXED
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: analysis/A0 (show other problems)
Version: 6.2
Hardware: Other Linux
: P2 normal
Assignee: Gunter.Folger
URL:
: 749 (view as problem list)
Depends on:
Blocks:
 
Reported: 2004-08-02 19:12 CEST by tkoi
Modified: 2007-04-08 18:18 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.