Message: Re: homebrew installation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: homebrew installation 

Forum: Installation and Configuration
Re: Question homebrew installation (maarco incagli)
Date: 14 Nov, 2016
From: Ben Morgan <Ben Morgan>

On Fri, 11 Nov 2016 14:52:41 GMT, maarco incagli wrote:
> Dear all.
> 
> Installing geant4 with homebrew I get the following error:
> ---
> Undefined symbols for architecture x86_64:
>   "__ZTWN14G4GeomSplitterI8G4LVDataE6offsetE", referenced from:
>       G4Track::CalculateVelocityForOpticalPhoton() const in G4Track.cc.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [BuildProducts/lib/libG4track.dylib] Error 1
> make[1]: *** [source/track/CMakeFiles/G4track.dir/all] Error 2
> make: *** [all] Error 2
> ---
> 
> When doing "> brew doctor" I get many warnings, mostly on header files,
> which I attach separately.
> 
> Other infos: MacOs 10.12.1
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/11/11/06.52-77197-ctor_incagli11nov2016.rtf
> incagli% gcc -v gcc: warning: couldn't understand kern.osversion '16.1.0
> Using built-in specs. COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin12.2.0/4.8.0/lto-wrapper
> Target: x86_64-apple-darwin12.2.0 Configured with:
> ../gcc-4.8-20120930/configure --enable-languages=c++,fortran Thread
> model: posix gcc version 4.8.0 20120930 (experimental) (GCC) [] incagli%
> cmake --version cmake version 3.6.3
> 
> CMake suite maintained and supported by Kitware (kitware.com/cmake).
> 
> Thanks.
> 
> Marco.
> 

If this is installing geant4 from the Homebrew-science Tap, then in the first instance I would raise an issue on their tracker. Two things to note though:

  • The above messages and posted log suggest that GCC rather than Xcode/Clang is being used, and that the GCC has not been installed by Homebrew. That may cause issues with binary compatibility (and note that Geant4 is neither tested nor supported on macOS using GCC as the compiler)
  • Geant4 is not yet fully tested or supported on macOS Sierra - this is in progress, but you may find further issues here.

 Add Message Add Message
to: "Re: homebrew installation"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]