On Thu, Aug 18, 2016 at 04:50:49PM -0700, Steve Kargl wrote:
> On Fri, Aug 19, 2016 at 01:14:32AM +0200, Tijl Coosemans wrote:
> > > 
> > > For example, on one of my systems, I now have these:
> > > 
....
> entry: 5
>       d_tag: DT_RPATH
>       d_val: /usr/local/lib/gcc6
> 
> I don't know how ELF or the ldd work, but shouldn't the DT_RPATH
> tell ldd to look for all of the above libraries in /usr/local/lib/gcc6
> first.  If a library isn't present, it would then look in ldconfig's
> hints file or fallback to /lib and /usr/lib/.  But, I suppose we 
> still run into issues as libgfortran.so.3 needs its companion libgcc_s.s.1
> from DT_RPATH and libc.so.7 expects the one from /lib (or perhaps
> libcxxrt.so.1?).


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120 

Anything compiled with cmake infrastructure loses the DT_RPATH.

> -- 
> Steve
> _______________________________________________
> freebsd-toolch...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
> To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
> 

Diane
-- 
- d...@freebsd.org d...@db.net http://www.db.net/~db
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to