Message: Re: shared library problem with QGSP_BIC Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: shared library problem with QGSP_BIC 

Forum: Installation and Configuration
Re: Question shared library problem with QGSP_BIC (Tom Roberts)
Date: 30 Jul, 2009
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Tom,

> I have used Geant4 for many years, using static libraries, and am
> exploring using shared libraries. The changes to exampleN01 below work
> fine with static granular libraries, but not with shared libraries.

I tried the modified N01 as you've shown but could not reproduce the
problem. The test runs to completion just fine (running on a Mac 10.5.7
with granular shared libs).

> Does anybody use Geant4 with shared libraries on Mac OS X? on Linux? on
> Windows?

I definitely believe so.....

> Does anybody know why this works with static libraries but not shared
> ones?

Have you tried -recompiling- and rebuilding all libraries from scratch ?

> I first noticed that "global libraries" do not work; it appears that
> common.gmk simply does not have the code to build global shared
> libraries. So I'm living with over 100 libraries.

Global [shared] libraries are rather heavily used by LHC experiments... and
both configurations are routinely tested, so I quite don't understand your
statement. Global libraries are handled through the globlib.gmk script and
are picked up if granular ones are not present.

Cheers, Gabriele

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 News: Re: shared library problem with QGSP_BIC   (Tom Roberts - 30 Jul, 2009)
1 Question: Re: shared library problem with QGSP_BIC   (Tom Roberts - 30 Jul, 2009)
2 News: Re: shared library problem with QGSP_BIC   (Tom Roberts - 30 Jul, 2009)
 Add Message Add Message
to: "Re: shared library problem with QGSP_BIC"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]