|
[Rivet] agile, libHepMCfio and macosAndy Buckley andy.buckley at cern.chSat Sep 7 16:31:32 BST 2013
Hi Dima, Thanks for the report. Please feel free to apply this patch for now and I will apply it to the AGILe trunk. Very little development work happens on AGILe now (since the move to C++ generators has really taken off in the last few years and it isn't really needed/appropriate for those) but I can make a no-fanfare patch release to solve this issue without much trouble :-) Cheers, Andy On 04/09/13 18:14, Dmitri Konstantinov wrote: > Hi Andy, hi all, > > There is a problem with running agile on macos. Probably you are aware > of it. > agile can't find HepMC library libHepMCfio. By default it looks for > libHepMCfio in system folders: > > ("/usr/lib", "/usr/lib64", "/usr/lib32", "/usr/local/lib", > "/usr/local/lib64", "/usr/local/lib32") plus generators directories plus > directories from LD_LIBRARY_PATH but not from DYLD_LIBRARY_PATH. > > Therefore as workaround we can specify LD_LIBRARY_PATH for macos or > introduce a simple patch src/Core/Loader.cc adding paths from > DYLD_LIBRARY_PATH to "search" dirs: > > To: > const char* envld = getenv("LD_LIBRARY_PATH"); > if (envld) dirs += split(envld); > > we can add: > > const char* envdyld = getenv("DYLD_LIBRARY_PATH"); > if (envdyld) dirs += split(dyenvld); > > > Cheers, > Dima > > > > > > -- Dr Andy Buckley, Royal Society University Research Fellow Particle Physics Expt Group, University of Glasgow / PH Dept, CERN
More information about the Rivet mailing list |