Public bug reported: It appears that the $LIB macro you may use in LD_PRELOAD (see the manpage for ld.so if you're unfamiliar with this) doesn't take into account the layout that Ubuntu has for its libraries.
On x86-64, 64-bit libraries are in /lib and /lib64 is a symlink to /lib while 32-bit libraries are in /lib32. It appears that ld.so assumes "lib" means 32-bit and "lib64" is 64-bit. Changing this to assume "lib32" is for 32-bit and "lib64" is for 64-bit would work on Ubuntu, but I don't think that could be upstreamed. ** Affects: glibc (Ubuntu) Importance: Undecided Status: New -- The macro $LIB in LD_PRELOAD doesn't take into account the lib layout https://bugs.launchpad.net/bugs/523549 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs