GuillaumeDesforges / fix-python

A simple CLI tool to allow you to use Python "normally" in NixOS
131 stars 5 forks source link

not working for matplotlib, missing fix for libGL/libstdc #19

Open bileamScheuvens opened 3 days ago

bileamScheuvens commented 3 days ago

running fix-python in an environment with matplotlib patches PyQt5/6 but attempting to plot shows:

import matplotlib.pyplot as plt
plt.figure()
plt.show()
>> "UserWarning: FigureCanvasAgg is non-interactive, and thus cannot be shown"

from PyQt5.QtWidgets import *
app = QApplication([])
win = QMainWindow()
win.show()
app.exec()
>> "ImportError: libGL.so.1: cannot open shared object file: No such file or directory"

from PyQt6.QtWidgets import *
app = QApplication([])
win = QMainWindow()
win.show()
app.exec()
>> "ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory"
GuillaumeDesforges commented 3 days ago

I can reproduce

$ cd $(mktemp -d)
$ nix run nixpkgs#python3 -- -m venv .venv --copies
$ source .venv/bin/activate
$ pip install matplotlib
$ pip install PyQt6
$ nix run github:GuillaumeDesforges/fix-python -- --venv .venv
$ python
>>> from PyQt6.QtWidgets import *
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory
GuillaumeDesforges commented 3 days ago

With LD_DEBUG=libs on my machine (not minimal)

>>> from PyQt6.QtWidgets import *
     15892: find library=libQt6Widgets.so.6 [0]; searching
     15892: search path=/etc/sane-libs:/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib      (LD_LIBRARY_PATH)
     15892:  trying file=/etc/sane-libs/libQt6Widgets.so.6
     15892:  trying file=/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib/libQt6Widgets.so.6
     15892: search path=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/glibc-hwcaps/x86-64-v4:/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/glibc-hwcaps/x86-64-v3:/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/glibc-hwcaps/x86-64-v2:/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib        (RUNPATH from file python)
     15892:  trying file=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/glibc-hwcaps/x86-64-v4/libQt6Widgets.so.6
     15892:  trying file=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/glibc-hwcaps/x86-64-v3/libQt6Widgets.so.6
     15892:  trying file=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/glibc-hwcaps/x86-64-v2/libQt6Widgets.so.6
     15892:  trying file=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/libQt6Widgets.so.6
     15892: 
     15892: find library=libQt6Gui.so.6 [0]; searching
     15892: search path=/etc/sane-libs:/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib      (LD_LIBRARY_PATH)
     15892:  trying file=/etc/sane-libs/libQt6Gui.so.6
     15892:  trying file=/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib/libQt6Gui.so.6
     15892: search path=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib        (RUNPATH from file python)
     15892:  trying file=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6
     15892: 
     15892: find library=libQt6Core.so.6 [0]; searching
     15892: search path=/etc/sane-libs:/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib      (LD_LIBRARY_PATH)
     15892:  trying file=/etc/sane-libs/libQt6Core.so.6
     15892:  trying file=/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib/libQt6Core.so.6
     15892: search path=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib        (RUNPATH from file python)
     15892:  trying file=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/libQt6Core.so.6
     15892: 
     15892: find library=libstdc++.so.6 [0]; searching
     15892: search path=/etc/sane-libs:/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib      (LD_LIBRARY_PATH)
     15892:  trying file=/etc/sane-libs/libstdc++.so.6
     15892:  trying file=/nix/store/pbvn150v0w5v1jadv1b8wnvkp81vxz5k-pipewire-1.2.6-jack/lib/libstdc++.so.6
     15892: search path=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib        (RUNPATH from file python)
     15892:  trying file=/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/lib/libstdc++.so.6
     15892: search cache=/nix/store/wn7v2vhyyyi6clcyn0s9ixvl7d4d87ic-glibc-2.40-36/etc/ld.so.cache
     15892: search path=/nix/store/wn7v2vhyyyi6clcyn0s9ixvl7d4d87ic-glibc-2.40-36/lib:/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib/glibc-hwcaps/x86-64-v4:/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib/glibc-hwcaps/x86-64-v3:/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib/glibc-hwcaps/x86-64-v2:/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib      (system search path)
     15892:  trying file=/nix/store/wn7v2vhyyyi6clcyn0s9ixvl7d4d87ic-glibc-2.40-36/lib/libstdc++.so.6
     15892:  trying file=/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib/glibc-hwcaps/x86-64-v4/libstdc++.so.6
     15892:  trying file=/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib/glibc-hwcaps/x86-64-v3/libstdc++.so.6
     15892:  trying file=/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib/glibc-hwcaps/x86-64-v2/libstdc++.so.6
     15892:  trying file=/nix/store/2d5spnl8j5r4n1s4bj1zmra7mwx0f1n8-xgcc-13.3.0-libgcc/lib/libstdc++.so.6
     15892: 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory

but ldd does show libstdc++ for all qt related binaries

$ find "$(realpath ".venv")" -type f -executable -exec sh -c "file -i '{}' | grep -qE 'x-(.*); charset=binary'" \; -print | grep qt | xargs -I {} sh -c 'echo {} && (ldd {} | grep libstd)'
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick3D/Effects/libqtquick3deffectplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007ff410a00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick3D/Particles3D/libqtquick3dparticles3dplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f9865000000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick3D/ParticleEffects/libqtquick3dparticleeffectsplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f5050400000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick3D/Helpers/impl/libqtquick3dhelpersimplplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f233f800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick3D/Helpers/libqtquick3dhelpersplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f3905600000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick3D/AssetUtils/libqtquick3dassetutilsplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f5528200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick3D/Physics/Helpers/libqtquick3dphysicshelpersplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007fdfba200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/libqtquick2plugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007fb8c9a00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Dialogs/libqtquickdialogsplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007fc2bc800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Dialogs/quickimpl/libqtquickdialogs2quickimplplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007ffa73200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Scene2D/libqtquickscene2dplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f5381c00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Basic/libqtquickcontrols2basicstyleplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f19efa00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Basic/impl/libqtquickcontrols2basicstyleimplplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f2900e00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Imagine/libqtquickcontrols2imaginestyleplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007fb69e400000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Imagine/impl/libqtquickcontrols2imaginestyleimplplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f5146200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Fusion/libqtquickcontrols2fusionstyleplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007fe696800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Fusion/impl/libqtquickcontrols2fusionstyleimplplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f822fa00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Universal/impl/libqtquickcontrols2universalstyleimplplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007ff153200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Universal/libqtquickcontrols2universalstyleplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f526e200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/impl/libqtquickcontrols2implplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f2c1aa00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/libqtquickcontrols2plugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f769ec00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Material/libqtquickcontrols2materialstyleplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f7f5b400000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Controls/Material/impl/libqtquickcontrols2materialstyleimplplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f091e200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Timeline/BlendTrees/libqtquicktimelineblendtreesplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f6333600000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Timeline/libqtquicktimelineplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007fea6ca00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Templates/libqtquicktemplates2plugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f1411800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/Scene3D/libqtquickscene3dplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f8b29600000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/qml/QtQuick/NativeStyle/libqtquickcontrols2nativestyleplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007ff397e00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/webview/libqtwebview_webengine.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f08fc800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/wayland-shell-integration/libqt-shell.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f7f13000000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/imageformats/libqtiff.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f8394800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/imageformats/libqtga.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f83b2200000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/position/libqtposition_positionpoll.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007efdc5e00000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/position/libqtposition_geoclue2.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f10a4800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/position/libqtposition_nmea.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f806c800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/generic/libqtuiotouchplugin.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f2f20000000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/texttospeech/libqtexttospeech_speechd.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f14f2600000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/texttospeech/libqtexttospeech_mock.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f9959400000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/sensors/libqtsensors_iio-sensor-proxy.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007fb506400000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/sensors/libqtsensors_generic.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007ff627800000)
/tmp/tmp.Bcsi1DXuhO/.venv/lib/python3.12/site-packages/PyQt6/Qt6/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
    libstdc++.so.6 => /nix/store/ybjcla5bhj8g1y84998pn4a2drfxybkv-gcc-13.3.0-lib/lib/libstdc++.so.6 (0x00007f8111a00000)