#7638: prefer rpath than system default for seach library image -----------------------------------+------------------------- Reporter: obache | Owner: bonefish Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: System/runtime_loader | Version: R1/alpha2 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -----------------------------------+------------------------- Currently, library images will be searched from 1. LIBRARY_PATH environment variable 2. system default paths (now %A/lib:/boot/home/config/lib:/boot/common/lib:/boot/system/lib) 3. rpath (source:/haiku/trunk/src/system/runtime_loader/runtime_loader.cpp) Is it possible to prefer rpath than system default paths? I want to use shared libraries with some applications and specify the location with rpath. But if same name, but incompatible shared libraries are in both rpath (own) and system default, it result in following situation: * Even LIBRARY_PATH is empty, system default one will be picked up, my applications will be broken. * If adding my own library path to LIBRARY_PATH, my applications will work as expected, but others may be result in broken. I believe changes of library search order resolve the situation, but break nothing. -- Ticket URL: <http://dev.haiku-os.org/ticket/7638> Haiku <http://dev.haiku-os.org> Haiku - the operating system.