[Mono-dev] Library path bug in Makefile?
kumpera at gmail.com
Fri Mar 7 15:06:10 UTC 2014
On Fri, Mar 7, 2014 at 7:03 AM, Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:
> > 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
> > 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...
Setting RPATH to /usr/lib causes a lot of problems. Specially when you're
migrating between versions. glibc suffered huge pains from this.
OTOH, setting RPATH to /usr/lib and installing to a custom prefix is
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list