Skip to content

BUG: libstdc++.so.6 linkage issue #253

@MilesCranmer

Description

@MilesCranmer

All of my CI tests on Ubuntu + Conda seem to be failing with a library linkage issue:

Run python -m pysr.test main
ERROR: Unable to dlopen(cxxpath) in parent!
Message: /usr/share/miniconda3/envs/pysr-test/lib/python3.10/site-packages/scipy/sparse/../../../../libstdc++.so.6�E6W�: cannot open shared object file: No such file or directory
Error: Process completed with exit code 1.

Here is an example run: https://github.com/MilesCranmer/PySR/actions/runs/5171734252

I had initially thought this was a scipy issue from the pathname, but the error message actually looks to be from this line in the Julia source: https://github.com/JuliaLang/julia/blob/f407a4cac3d1c660d1f8f1a9b367eec108d98178/cli/loader_lib.c#L456, so now I'm not so sure.

A strange thing is that I have actually successfully run the unit tests on Julia 1.9 in the past: https://github.com/MilesCranmer/PySR/actions/runs/5163099602. It's only the past day where they started to break.

Here are the dependencies that changed from 2 days ago (working) to 1 day ago (broken across all Python versions):

<     libgfortran-ng-12.2.0      |      h69a702a_19          22 KB  conda-forge
>     libgfortran-ng-13.1.0      |       h69a702a_0          23 KB  conda-forge

<     libgfortran5-12.2.0        |      h337968e_19         1.8 MB  conda-forge
>     libgfortran5-13.1.0        |       h15d22d2_0         1.4 MB  conda-forge

<     libssh2-1.10.0             |       hf14f497_3         234 KB  conda-forge
>     libssh2-1.11.0             |       h0841786_0         265 KB  conda-forge

<     libstdcxx-ng-12.2.0        |      h46fd767_19         4.3 MB  conda-forge
>     libstdcxx-ng-13.1.0        |       hfd8a6a1_0         3.7 MB  conda-forge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions