In rpmbuild, software was built in builtroot some path like /tmp/buildroot/, and software install to real path after packaging. So I need to specify patchelf to search libs using prefix /tmp/buildroot