[Rivet] HepMC static

James Monk jmonk at fnal.gov
Wed Oct 17 11:03:35 BST 2007


Hi Lars,

It did not produce shared libraries with my version of gcc because  
that requires an extra compiler option to produce dynamic libraries  
with undefined symbols (-undefined dynamic_lookup).  Lynn has now  
committed my suggested fix to the HepMC repository and has promised a  
release with this in "by the end of the week."

I guess Jon is right and we don't need to redistribute the HepMC  
release, although it is convenient to be able to get everything from  
one place.

James

On 17 Oct 2007, at 10:45, Lars Sonnenschein wrote:

> Hello James
> I took the HepMC-2.02.00 tar ball from the HepMC download web page:
> http://lcgapp.cern.ch/project/simu/HepMC/download/
> and it does produce shared (*.so) libraries
>
> where did you take your HepMC distribution from?
>
> 	Lars
>
>
>
> On Tue, 16 Oct 2007, James Monk wrote:
>
>> Hi Riveteers,
>>
>> The version of HepMC that we are distributing at Cedar only builds a
>> static library on OS X, which is obviously going to cause some
>> problems for RivetGun dynamic loading.  I've modified the HepMC build
>> script to make a dynamic library as well and everything seems to be
>> fine (once again, only OS X >= v3). I'll put that version of HepMC in
>> the Cedar downloads area (still the same version 2.02.00), which you
>> will need to install if you want to run Rivet on OS X (is anyone else
>> using it?).  Nothing changes on Linux, obviously.  Should I notify
>> the HepMC developers that they need to make this change in all future
>> releases, or do we make the release anyway?
>>
>> I also found out that the  libAGILe*Mod.so files that RivetGun builds
>> are not useful (get a bus error when trying to dlopen them).  The
>> solution to this was to build them as dylibs like everything else by
>> removing the -module linker flag and then they seem to work.  I'll
>> commit a change for this shortly and hopefully that will be the end
>> of this .dylib/.so saga.
>>
>> cheers,
>>
>> James
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> http://www.hepforge.org/lists/listinfo/rivet
>>
>
> -- 
>
>
> ________________________________
> Lars Sonnenschein
> ________________________________
> Home Institution:
> PH/TH 4/1-030
> CERN
> CH-1211 Geneve 23
> Switzerland
> Tel.:+41(22)767-2827
> --------------------------------
> ________________________________
> FNAL:
> D0, PK151
> Mailstop #352
> Fermilab, P.O.Box 500
> Batavia, IL 60510-500
> Tel.: +1(630)840-8740
> ________________________________



More information about the Rivet mailing list