use RPATH mas não RUNPATH?
Esta página -http: //labs.qt.nokia.com/2011/10/28/rpath-and-runpath - diz sobre o pedido de pesquisa na biblioteca em 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
default dirs
E então sugira:
Ao enviar binários, use RPATH e não RUNPATH ou verifique se LD_LIBRARY_PATH está definido antes de serem executados.
Então, usandoRPATH
comRUNPATH
é ruim porqueRUNPATH
tipo de cancelamentoRPATH
o carregamento dinâmico indireto não funciona como o esperado? Mas por que entãoRPATH
foi preterido em favor deRUNPATH
?
lguém pode explicar a situaçã