Problem
I installed cargo-afl and cargo-test-fuzz inside a Conda environment (Python 3.13). Running cargo test-fuzz fails with error while loading shared libraries: libpython3.13.so.1.0.
afl-fuzz is dynamically linked to Conda's python lib, but Conda doesn't set LD_LIBRARY_PATH by default. So I need to manually set LD_LIBRARY_PATH as the workaound:
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib
suggestion
Could afl.rs either:
- Attempt to static link libpython?
- Automatically detect $CONDA_PREFIX and augment the library search path when invoking afl-fuzz?
Problem
I installed cargo-afl and cargo-test-fuzz inside a Conda environment (Python 3.13). Running
cargo test-fuzzfails with error while loading shared libraries: libpython3.13.so.1.0.afl-fuzz is dynamically linked to Conda's python lib, but Conda doesn't set LD_LIBRARY_PATH by default. So I need to manually set
LD_LIBRARY_PATHas the workaound:suggestion
Could afl.rs either: