No subject


Tue Aug 25 21:31:30 BST 2009


the cause of this failure, just a response to something else which has
already gone wrong:

>
dlopen(/Users/skands/Downloads/rivet/build/Rivet-1.2.1/pyext/build/lib.macosx-10.6-universal-2.6/_rivet.so,
> 10): Symbol not found: __ZN5Rivet3Log12showLogLevelE

I *think* this indicates that the libRivet.so library doesn't contain a
symbol that it requires (from the log message system), and this is made
visible when Python tries to use the _rivet Python module: _rivet
shouldn't itself have this symbol defined. I don't know exactly what is
going on here... possibly it's as simple as the module search path being
different on a Mac. But I don't really have a Mac to test on, either, so
I'm shooting in the dark.

Can any of the other Rivet developers or users reproduce this problem
(ideally during a rivet-bootstrap --install-boot run on a Mac OS X 10.6
system)?

Andy


On 31/03/10 14:56, Peter Skands wrote:
> Here's the output from the failing build:
> 
> Making all in bin
> make[1]: Nothing to be done for `all'.
> Making all in doc
> LD_LIBRARY_PATH=../src/.libs:../src/Tools/yaml-cpp/.libs:/Users/skands/mc/rivet/lib:/Users/skands/mc/rivet/lib::/Users/skands/mc/rivet/lib
> \
> DYLD_LIBRARY_PATH=../src/.libs:../src/Tools/yaml-cpp/.libs:/Users/skands/mc/rivet/lib:/Users/skands/mc/rivet/lib::/cern/root/lib:/Users/skands/mc/rivet/lib
> \
> RIVET_INFO_PATH=../data/anainfo \
> ./mk-analysis-html analyses.html
> Traceback (most recent call last):
>   File "./mk-analysis-html", line 54, in <module>
>     import rivet
>   File
> "/Users/skands/Downloads/rivet/build/Rivet-1.2.1/pyext/build/lib.macosx-10.6-universal-2.6/rivet.py",
> line 7, in <module>
>     import _rivet
> ImportError:
> dlopen(/Users/skands/Downloads/rivet/build/Rivet-1.2.1/pyext/build/lib.macosx-10.6-universal-2.6/_rivet.so,
> 10): Symbol not found: __ZN5Rivet3Log12showLogLevelE
>   Referenced from:
> /Users/skands/Downloads/rivet/build/Rivet-1.2.1/pyext/build/lib.macosx-10.6-universal-2.6/_rivet.so
> 
>   Expected in: flat namespace
>  in
> /Users/skands/Downloads/rivet/build/Rivet-1.2.1/pyext/build/lib.macosx-10.6-universal-2.6/_rivet.so
> 
> make[1]: *** [analyses.html] Error 1
> make: *** [all-recursive] Error 1
> pb-d-128-141-224-195:~/Downloads/rivet/build/rivet> which python
> /usr/bin/python
> 


-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh


More information about the Rivet mailing list