|
[Rivet] Compiling 2.6.0Stefan von Buddenbrock stefvonb at gmail.comMon May 21 16:47:09 BST 2018
Hi Holger This is using Apple LLVM (clang), so it's gcc I believe. The one in the build directory (pyext/build/lib.macosx-10.13-intel-2.7/rivet/core.so) does exist. But the other one in the install directory (/Users/stefvonb/programs/local/lib/libRivet.dylib) doesn't exist. I've never had this problem before, and I suspect it may have to do with some sort of macOS update. Cheers Stefan > On 21 May 2018, at 16:52, Holger Schulz <iamholger at googlemail.com> wrote: > > Hi Stefan, > > is this compiling with icc or gcc? > > Oh and could you check which ones of the libs mentioned in your > email exist and which ones don't? > Also, feel free to try out the docker image docker.io/hepstore/rivet:2.6.0 (Instructions at https://rivet.hepforge.org/trac/wiki/Docker <https://rivet.hepforge.org/trac/wiki/Docker>) > > Holger > > > > On 21/05/18 09:40, Stefan von Buddenbrock wrote: >> 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 >> >> >> _______________________________________________ >> Rivet mailing list >> Rivet at projects.hepforge.org <mailto:Rivet at projects.hepforge.org> >> https://www.hepforge.org/lists/listinfo/rivet <https://www.hepforge.org/lists/listinfo/rivet> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180521/badcbc52/attachment.html>
More information about the Rivet mailing list |