Message: dyld symbol not found error under OS X 10.10, Geant4 10.2.p01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question dyld symbol not found error under OS X 10.10, Geant4 10.2.p01 

Forum: Installation and Configuration
Date: 24 Mar, 2016
From: Mark Looper <Mark Looper>

I am testing out the new version of Geant4 under Mac OS X (10.10.5) before rolling it out to the Linux clusters where I mainly work, and I find that while installation of the main code package went without a hitch and I can compile user codes just fine, nonetheless some of them work properly and some crash at the "/run/initialize" step. In the latter case, I have been getting the following errors:

dyld: lazy symbol binding failed: Symbol not found: __ZN11G4Threading14IsMasterThreadEv
  Referenced from [my $G4WORKDIR]/usercode/./usercode
  Expected in: [my Geant4 install directory]/lib/libG4global.dylib

dyld: Symbol not found: __ZN11G4Threading14IsMasterThreadEv
  Referenced from [my $G4WORKDIR]/usercode/./usercode
  Expected in: [my Geant4 install directory]/lib/libG4global.dylib

Any suggestions as to how I figure out why this is happening for some but not all of my user codes, and how to fix it? The user codes in question all ran fine under earlier versions of Geant4; the one that I can run correctly under 10.2.p01 previously ran under 10.1.p02, while the two that give me the above errors previously ran under 10.0.p02 and 10.1, if that matters. The CMakeLists.txt files for all are identical except for usercode names, and the usercode.cc files are identical except for names and the fact that the codes that crash include a G4RunAction as well as the G4SteppingAction common to all three.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: dyld symbol not found error under OS X 10.10, Geant4 10.2.p01   (Makoto Asai - 25 Mar, 2016)
(_ Agree: Re: dyld symbol not found error under OS X 10.10, Geant4 10.2.p01   (Mark Looper - 25 Mar, 2016)
 Add Message Add Message
to: "dyld symbol not found error under OS X 10.10, Geant4 10.2.p01"

 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 ]