Hey, I've got the following errors when executing ...
# pactflow
b
Hey, I've got the following errors when executing provider oas publish in Jenkins using the linux CLI: /pact/lib/ruby/bin.real/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /pact/lib/ruby/bin.real/ruby) /pact/lib/ruby/bin.real/ruby: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /pact/lib/ruby/bin.real/ruby) I didn't experience these at all when running from local following this. Are there any pre-requisites for running that I might've missed?
m
What distro and version of linux are you running?
The issue looks clear to me though - the version of glibc is out of date (2.17 was released in 2012)
🙌 1
gratitude thank you 1
truestory 1
did you solve it?
b
I don't have access to make those changes so I've just passed this on. Not sure how long it will take them though 🙃 I've never had to update GLIBC myself but they are a fair bit out of date, do you know if later versions are backwards compatible?
m
Yes, glibc versions all function calls. So a version compiled on glibc 1.0 will still work on 100.0, just not the other way around (when you link against glibc, it “helpfully” uses the latest symbols, and there really isn’t a way to not do that, so you can’t then use it on older glibc environments - i.e. the very problem we have now!)
b
Makes sense thanks! I had just read this post which mentioned "upgrading it can have far-reaching implications" so I wanted to double check, but looking back they're probably just saying that as the version was still "experimental"