Reputation: 204794
I develop a CGI C++ application that I compiled under Debian. Running this app on an Ubuntu system I am getting the error:
relocation error: /lib32/libresolv.so.2: symbol strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
What can I do now? Should I recomile on the Ubunto system? Can I replace a library?
I link my application with -static
.
Running the command ldd --version
on the Ubuntu system showed my that EGLIB
is used there.
Upvotes: 2
Views: 995
Reputation:
What this error means is that your program was compiled/linked against an older version of GNU libc, which is not supported on the system where you want to run your executable.
You have few options to solve it:
Upvotes: 3