On 05.03.2014 15:31, Edward Ned Harvey (mono) wrote:
It is a safe conclusion to draw, that *whatever* is specified by --libdir=DIR, the binary should be linked against libraries in that directory. (If not specified, libdir is derived from --exec-prefix=EPREFIX, which is derived from --prefix=PREFIX)
Non-default Mono installations still need LD_LIBRARY_PATH, otherwise p/invoke of Mono libraries (libgdiplus, libMonoPosixHelper) won't work because p/invoke is obeying the CLR rules of library look-up that know nothing about ELF RPATH attributes. Moreover, things like pkg-config need to be configured as well, because they also know nothing about mono's executable RPATH. The only thing you'd achieve by setting the RPATH attribute: you won't be able to safely relocate Mono anymore, as RPATH takes precedence over LD_LIBRARY_PATH. Robert _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list