[Rivet] Compiling 2.6.0

Stefan von Buddenbrock stefvonb at gmail.com
Mon May 21 15:40:58 BST 2018


Dear Rivet developers

I have to come back to this issue now that I'm on my Mac again. I am unable to compile Rivet 2.6.0 on macOS 10.13.4 with the following error:

Traceback (most recent call last):
  File "mk-analysis-json", line 18, in <module>
    import rivet
  File "/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/__init__.py", line 12, in <module>
    from rivet.core import *
ImportError: dlopen(/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so, 10): Library not loaded: /Users/stefvonb/programs/local/lib/libRivet.dylib
  Referenced from: /Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so
  Reason: image not found
make[1]: *** [analyses.json] Error 1
make[1]: *** Waiting for unfinished jobs....
Using output file name 'analyses.html' and directory 'analyses'
Traceback (most recent call last):
  File "mk-analysis-html", line 25, in <module>
    import rivet
  File "/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/__init__.py", line 12, in <module>
    from rivet.core import *
ImportError: dlopen(/Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so, 10): Library not loaded: /Users/stefvonb/programs/local/lib/libRivet.dylib
  Referenced from: /Users/stefvonb/programs/Rivet-2.6.0/pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so
  Reason: image not found
make[1]: *** [analyses.html] Error 1
make: *** [all-recursive] Error 1

It seems to be trying to import Rivet in Python, but can't because the library /Users/stefvonb/programs/local/lib/libRivet.dylib is not loaded. But that library doesn't seem to exist yet. My configuration for the build is as follows:

./configure --prefix=/Users/stefvonb/programs/local --with-hepmc=/Users/stefvonb/programs/local --with-yoda=/Users/stefvonb/programs/local --with-fastjet=/Users/stefvonb/programs/local

Has anyone had any problems like this before?

Cheers
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180521/5cea4da3/attachment.html>


More information about the Rivet mailing list