Konstantin Belousov <[email protected]> writes: > There is no /lib32 on 64bit platforms.
It doesn't exist, but it's supported: #ifdef COMPAT_32BIT #undef STANDARD_LIBRARY_PATH #undef _PATH_ELF_HINTS #define _PATH_ELF_HINTS "/var/run/ld-elf32.so.hints" /* For running 32 bit binaries */ #define STANDARD_LIBRARY_PATH "/lib32:/usr/lib32" #define LD_ "LD_32_" #endif > I do not understand why these pathes are neeeded, since compat32 rtld > has proper default path built in Did you read the log message? I am perfectly aware that the two lines you're complaining about are a no-op; they're included mostly for documentation purposes. However, if the code that uses them was made unconditional (it is currently #ifdef COMPAT_32BIT), these lines would eliminate the need to hardcode a special STANDARD_LIBRARY_PATH in rtld-elf. > but if anything, /lib should be translated to /usr/lib32. Irrelevant, because while rtld-elf won't find anything there it will still find what it's looking for in /usr/lib32. These mappings are *not* applied to individual libraries; they are applied to STANDARD_LIBRARY_PATH, LD_LIBRARY_PATH and the program's or library's run-time search path (-rpath). DES -- Dag-Erling Smørgrav - [email protected] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
