[Mono-dev] Library path bug in Makefile?

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Fri Mar 7 12:03:48 UTC 2014


> From: Rodrigo Kumpera [mailto:kumpera at gmail.com]
> 
> The issue is that we don't want to set RPATH to a value in the dynamic linker
> path. This is known to cause all sorts of issues. Setting it
> to, for example, /opt/lib is fine but /usr/lib is not. 

Just to be clear, setting RPATH and RUNPATH simultaneously behaviorally means RPATH is not set - only RUNPATH.  Which means, if you want to override using LD_LIBRARY_PATH, you can.

What's the problem if you set it to /usr/lib?  And what are some of the other issues you're talking about?

I have built mono on a couple of systems this way now in the last couple of days (using --prefix=/usr/local/mono-3.2.8 and RUNPATH=/usr/local/mono-3.2.8/lib) ...  I haven't had any problems with it yet, but if there's going to be a problem in the future, I'd like to know what to expect before it happens...


More information about the Mono-devel-list mailing list