Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: symbol not found in flat namespace '_PyCallable_Check' #124

Open
bojohnson5 opened this issue Mar 26, 2024 · 1 comment
Open

error: symbol not found in flat namespace '_PyCallable_Check' #124

bojohnson5 opened this issue Mar 26, 2024 · 1 comment

Comments

@bojohnson5
Copy link

This is probably a user error, but any direction would be useful. I've built the code but whenever I try running the acrylic_attenuation test, I get the following error

rat acrylic_attenuation.mac
dyld[67495]: symbol not found in flat namespace '_PyCallable_Check'
[1]    67495 abort      rat acrylic_attenuation.mac

I'm on MacOS and have Geant4 v11.1.3 and ROOT v6.30.04 installed via conda-forge. Any clues as to why I should be getting this error?
Thanks!

@JamesJieranShen
Copy link
Contributor

Hello! This sounds like an issue with the conda root install. Do you have root/geant4 installed somewhere else on the system? Does the same error occur when you just run rat without providing a macro, or with any other macros?

I would recommend checking out the ratpac-setup directory as well as our containers if you are having trouble setting up your build with conda. Linking to libraries downloaded from conda to build thinsg can sometimes cause weird issues with your linker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants