Sharing ld.so.cache between two glibc versions on a single system

Dmitry Mikushin dmitry@kernelgen.org
Sat Nov 9 14:35:00 GMT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

Our application comes with its own glibc version. We don't want to
bother users with manual ldconfig updating. Instead we are looking for
how to re-use the system-default glibc's configs as much as possible.
Unfortunately, ld cache may be non-portable across glibc versions. What
could be done about that? I think one can try to override application's
glibc call to _dl_load_cache_lookup with call to system's glibc, and it
will lookup in its compatible ld cache. But I'm not sure if this path
covers all possibilities. Do you see any better solution?

Thanks,
- - D.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSfkgYAAoJENwm3+sbf/pMxy0H/RVXTyWIW4RRt4K+dYq9H3Vm
FIr1EolZuF6KQ/XFmLKWAflIv97LY0vaMZXaVKlUOL4yt93Icr4ttS9mbfZAqvxd
bYyWLTxQoSSUEO2+diYDlJl79igFgLFVqrnC3fwodQFRagqRHjAVh75SON4R1Ev7
n/lVMrQwVBPmdptlBsfkmfoeubkCjcqLsnGiixdQoSB7v3fkGLM/ITt3CJ1votHv
dh9b3uqKywWrqE+Zr15Ui/LAGk+rjFzjfIEMXI0wXoVHi+HKq0JWGs/CIyI9S0Vg
nGAZZjE1EsUhwh9oaSm3MFxCso4DpX9DkvH7mJxrGIfEqmWh7sAK0YwFzMs2LK0=
=Uv+b
-----END PGP SIGNATURE-----



More information about the Libc-help mailing list