rusticata / der-parser

BER/DER parser written in pure Rust. Fast, zero-copy, safe.
Apache License 2.0
85 stars 28 forks source link

Running into build errors on debian stretch #34

Open tanyav2 opened 4 years ago

tanyav2 commented 4 years ago

I can run der-parser just fine on Ubuntu 20.04, which comes with glibc version 2.31:

$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9) 2.31

But when I run on Debian stretch in a docker environment, I run into the following error:

error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /cfsetup_build/target/debug/deps/libder_oid_macro-9517fe04de556285.so)
 --> src/config.rs:2:5
  |
2 | use der_parser::{ber::BerObjectContent, parse_der};
  |     ^^^^^^^^^^

error: aborting due to previous error

It looks like there is an older version of glibc on stretch which is causing this.