Hello,
I wonder if is not good ideea to set RPATH into Trinity binaries, to ${prefix}/lib. In this case Trinity will still working even LD_LIBRARY_PATH is not set at all.
Pros? Cons?
Pros: Avoids library not found problems during compilation, *as long as the libraries are never moved on the system.*
Cons: Causes all kinds of library not found problems for the user, as he or she may not be aware that libraries cannot be moved. Developers would have to rebuild every single package that uses Trinity libraries if a core library changed location, which is impractical to nearly impossible.
Tim