<div dir="ltr">Hi David and all, <div><br></div><div>I have just installed Rivet from your bootstrap script using GCC 4.9.0 by specifying compiler flags: </div><div><font face="monospace, monospace">export CC=gcc-4.9 </font></div><div><font face="monospace, monospace">export CXX=g++-4.9 </font></div><div>and this worked! I am able to run Rivet now without problems. </div><div><br></div><div>Before when I got the error I used clang with version: <font face="monospace, monospace">Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) </font></div><div><br></div><div>I can see that libRivet.dylib now implements the symbol that I was missing before: </div><div><br></div><div><div><font face="monospace, monospace">14:03:09 ❯ alexanderlind@Alexanders-MacBook-Pro ❯ lib ❯ nm libRivet.dylib | grep getAnalysis</font></div><div><font face="monospace, monospace">0000000000034870 T __ZN5Rivet14AnalysisLoader11getAnalysisERKSs</font></div><div><font face="monospace, monospace">0000000000110370 T __ZN5Rivet19getAnalysisLibPathsEv</font></div><div><font face="monospace, monospace">0000000000111410 T __ZN5Rivet19getAnalysisRefPathsEv</font></div><div><font face="monospace, monospace">0000000000111c60 T __ZN5Rivet20getAnalysisInfoPathsEv</font></div><div><font face="monospace, monospace">0000000000110ac0 T __ZN5Rivet20getAnalysisPlotPathsEv</font></div></div><div><br></div><div>With symbol <font face="monospace, monospace">__ZN5Rivet14AnalysisLoader11getAnalysisERKSs</font> instead of <font face="monospace, monospace">__ZN5Rivet14AnalysisLoader11getAnalysisERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE</font> as before. </div><div><br></div><div>There is no difference in the rivetenv.sh generated when using gcc 4.9 compared to clang. </div><div>I have attached config.log from the new build if it's any help to you. </div><div><br></div><div>Best regards, Alexander </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-12 13:19 GMT+01:00 Alexander Lind <span dir="ltr"><<a href="mailto:lind@nbi.dk" target="_blank">lind@nbi.dk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David, <div><br></div><div>I have attached 'config.log' and 'rivetenv.sh'. </div><div>Thank you for looking into it. </div><div><br></div><div>Best regards, Alexander </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-02-12 11:16 GMT+01:00 David Grellscheid <span dir="ltr"><<a href="mailto:david.grellscheid@durham.ac.uk" target="_blank">david.grellscheid@durham.ac.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alexander,<br>
<br>
can you please send us 'config.log' and 'rivetenv.sh' from your build.<br>
<br>
Thanks,<br>
<br>
David<div><div><br>
<br>
On 11/02/2016 17:10, Alexander Lind wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hi Rivet Developers,<br>
<br>
<br>
I'm having problems getting Rivet 2.4.0 working on Mac OS X Mavericks<br>
10.9.5.<br>
<br>
I'm running Python 2.7.11 and Xcode 6.2.<br>
<br>
In the following I tried to install using the bootstrap script but I get<br>
the same error when trying to build and install from the source.<br>
<br>
<br>
Building and installing Rivet gives no errors, but when trying to run Rivet<br>
I get the following:<br>
<br>
<br>
16:42:38 ❯ alexanderlind@Alexanders-MacBook-Pro ❯ Rivet ❯ source<br>
local/rivetenv.sh<br>
<br>
16:42:43 ❯ alexanderlind@Alexanders-MacBook-Pro ❯ Rivet ❯ rivet --help<br>
<br>
The rivet Python module could not be loaded: is your PYTHONPATH set<br>
correctly?<br>
<br>
<br>
Rivet seems to have some problems with loading the Rivet module:<br>
<br>
<br>
16:46:39 ❯ alexanderlind@Alexanders-MacBook-Pro ❯ lib ❯ python<br>
<br>
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 12:54:16)<br>
<br>
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin<br>
<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
import rivet<br>
</blockquote></blockquote></blockquote>
<br>
Traceback (most recent call last):<br>
<br>
File "<stdin>", line 1, in <module><br>
<br>
File<br>
"/Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/__init__.py",<br>
line 12, in <module><br>
<br>
from rivet.core import *<br>
<br>
ImportError:<br>
dlopen(/Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/core.so,<br>
10): Symbol not found: __ZN5Rivet14AnalysisLoader11getAnalysisERKSs<br>
<br>
Referenced from:<br>
/Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/core.so<br>
<br>
Expected in: flat namespace<br>
<br>
in<br>
/Users/alexanderlind/Desktop/PythiaRivetAnalysis/Rivet/local/lib/python2.7/site-packages/rivet/core.so<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></blockquote></blockquote>
<br>
<br>
It seems like it can't find the symbol<br>
__ZN5Rivet14AnalysisLoader11getAnalysisERKSs in core.so.<br>
<br>
core.so seems to depend on the symbol:<br>
<br>
<br>
17:00:29 ❯ alexanderlind@Alexanders-MacBook-Pro ❯ rivet ❯ nm core.so | grep<br>
__ZN5Rivet14AnalysisLoader11getAnalysisERKSs<br>
<br>
U __ZN5Rivet14AnalysisLoader11getAnalysisERKSs<br>
<br>
<br>
The PYTHONPATH variable includes Rivet/local/lib/python2.7/site-packages<br>
and my DYLD_LIBRARY_PATH includes Rivet/local/lib where both libRivet.dylib<br>
and libRivet.la is located.<br>
<br>
It would seem that libRivet.dylib does not implement the symbol:<br>
<br>
<br>
16:46:27 ❯ alexanderlind@Alexanders-MacBook-Pro ❯ lib ❯ nm libRivet.dylib |<br>
grep getAnalysis<br>
<br>
0000000000037450 T<br>
__ZN5Rivet14AnalysisLoader11getAnalysisERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE<br>
<br>
00000000000ba1a0 T __ZN5Rivet19getAnalysisLibPathsEv<br>
<br>
00000000000ba520 T __ZN5Rivet19getAnalysisRefPathsEv<br>
<br>
00000000000baaa0 T __ZN5Rivet20getAnalysisInfoPathsEv<br>
<br>
00000000000bb020 T __ZN5Rivet20getAnalysisPlotPathsEv<br>
<br>
<br>
I have tried specifying the CFLAGS and CPPFLAGS as you write on your "Mac<br>
OS X installation issues" page before running ./rivet-bootstrap but it<br>
doesn't seem to make a difference.<br>
<br>
<br>
Do you have any idea what is wrong? Thank you in advance.<br>
<br>
<br>
Best regards, Alexander<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists/listinfo/rivet</a><br>
<br>
</blockquote>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>