tudo-astroparticlephysics / PROPOSAL

Monte Carlo Simulation propagating charged Leptons through Media as C++ Library
GNU Lesser General Public License v3.0
35 stars 21 forks source link

undefined symbol: _ZN5boost10filesystem4pathdVERKS1_ #377

Open sjoerd-bouma opened 12 months ago

sjoerd-bouma commented 12 months ago

On our CI system (ubuntu 22.04, python 3.7.17), proposal 7.5.1 has started raising an error about a week ago:

Traceback (most recent call last):
  File "NuRadioMC/test/atmospheric_Aeff/1e18eV/T01generate_event_list.py", line 39, in <module>
    tables_path=os.path.join(path,"tables"))
  File "/home/runner/work/NuRadioMC/NuRadioMC/NuRadioMC/EvtGen/generator.py", line 843, in generate_surface_muons
    from NuRadioMC.EvtGen.NuRadioProposal import ProposalFunctions
  File "/home/runner/work/NuRadioMC/NuRadioMC/NuRadioMC/EvtGen/NuRadioProposal.py", line 1, in <module>
    import proposal as pp
ImportError: /opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/proposal.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN5boost10filesystem4pathdVERKS1_

No issues occurred before this, and none of our dependencies have changed. Unfortunately, I have been unable to reproduce the error locally (on python 3.10; conda-created other environments raise a different error that is probably(?) unrelated

>>> import proposal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libpython3.9.so.1.0: cannot open shared object file: No such file or directory

Not sure what's causing this, maybe some unpinned (build) dependency of proposal has changed?