Can LD_PRELOAD be used to load different versions of glibc?
问题 Cast of characters big-old-app is linked to an old version of glibc , say glibc-2.12 . I cannot do anything to change this. cute-new-addon.o is linked to a newer version, glibc-2.23 . This glibc-2.23 is in a nonstandard path (because I don't have sudo powers). The story I want to use cute-new-addon.o inside big-old-app . I would normally write a script for big-old-app to execute, which then calls cute-new-addon.o to perform its tricks. From the command line, it would look like: $ big-old-app