Skip to main content.

2003-Jul-10

On a Linux box, I have an old glibc, but I want to use some already built binaries using a newer glibc. I was able to put new libraries in place, but ldd (and running the executable) still complained:
/lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required
by /usr/local/lib/libc.so.6)
Also ldd(1) showed that it was still using old ld-linux.so loader because its path was hard-coded into the binary. (I don't know how to change that yet.) I was able to work-around this by running:
/usr/local/lib/ld-linux.so.2 --library-path /usr/local/lib /path/to/binary