|
[Rivet] Problems with Rivet 2.4.0 on OS X MavericksDavid Grellscheid david.grellscheid at durham.ac.ukFri Feb 12 10:16:11 GMT 2016
Hi Alexander, can you please send us 'config.log' and 'rivetenv.sh' from your build. Thanks, David On 11/02/2016 17:10, Alexander Lind wrote: > Hi Rivet Developers, > > > I'm having problems getting Rivet 2.4.0 working on Mac OS X Mavericks > 10.9.5. > > I'm running Python 2.7.11 and Xcode 6.2. > > In the following I tried to install using the bootstrap script but I get > the same error when trying to build and install from the source. > > > Building and installing Rivet gives no errors, but when trying to run Rivet > I get the following: > > > 16:42:38 ❯ alexanderlind at Alexanders-MacBook-Pro ❯ Rivet ❯ source > local/rivetenv.sh > > 16:42:43 ❯ alexanderlind at Alexanders-MacBook-Pro ❯ Rivet ❯ rivet --help > > The rivet Python module could not be loaded: is your PYTHONPATH set > correctly? > > > Rivet seems to have some problems with loading the Rivet module: > > > 16:46:39 ❯ alexanderlind at Alexanders-MacBook-Pro ❯ lib ❯ python > > Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 12:54:16) > > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > > Type "help", "copyright", "credits" or "license" for more information. > >>>> import rivet > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File > "/Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/__init__.py", > line 12, in <module> > > from rivet.core import * > > ImportError: > dlopen(/Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/core.so, > 10): Symbol not found: __ZN5Rivet14AnalysisLoader11getAnalysisERKSs > > Referenced from: > /Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/core.so > > Expected in: flat namespace > > in > /Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/core.so > >>>> > > > It seems like it can't find the symbol > __ZN5Rivet14AnalysisLoader11getAnalysisERKSs in core.so. > > core.so seems to depend on the symbol: > > > 17:00:29 ❯ alexanderlind at Alexanders-MacBook-Pro ❯ rivet ❯ nm core.so | grep > __ZN5Rivet14AnalysisLoader11getAnalysisERKSs > > U __ZN5Rivet14AnalysisLoader11getAnalysisERKSs > > > The PYTHONPATH variable includes Rivet/local/lib/python2.7/site-packages > and my DYLD_LIBRARY_PATH includes Rivet/local/lib where both libRivet.dylib > and libRivet.la is located. > > It would seem that libRivet.dylib does not implement the symbol: > > > 16:46:27 ❯ alexanderlind at Alexanders-MacBook-Pro ❯ lib ❯ nm libRivet.dylib | > grep getAnalysis > > 0000000000037450 T > __ZN5Rivet14AnalysisLoader11getAnalysisERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE > > 00000000000ba1a0 T __ZN5Rivet19getAnalysisLibPathsEv > > 00000000000ba520 T __ZN5Rivet19getAnalysisRefPathsEv > > 00000000000baaa0 T __ZN5Rivet20getAnalysisInfoPathsEv > > 00000000000bb020 T __ZN5Rivet20getAnalysisPlotPathsEv > > > I have tried specifying the CFLAGS and CPPFLAGS as you write on your "Mac > OS X installation issues" page before running ./rivet-bootstrap but it > doesn't seem to make a difference. > > > Do you have any idea what is wrong? Thank you in advance. > > > Best regards, Alexander > > > > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet >
More information about the Rivet mailing list |