RPATH는 사용하고 RUNPATH는 사용하지 않습니까? 이 페이지는 라이브러리 검색 순서에 대해 설명합니다.ld.so: Unless loading object has RUNPATH: RPATH of the loading object, then the RPATH of its loader (unless it has a RUNPATH), ..., until the end of the chain, which is either the executable or an object loaded by dlopen Unless executable has RUNPATH: RPATH of the executable LD_LIBRARY_PATH RUNPATH of the loading object ld.so.cache def..