The following reply was made to PR bin/171604; it has been noted by GNATS.

From: Andrey Simonenko <si...@comsys.ntu-kpi.kiev.ua>
To: bug-follo...@freebsd.org
Cc: Mark Johnston <mark...@gmail.com>
Subject: bin/171604: [patch] LD_PRELOAD set to not absolute path crashes rtld
Date: Mon, 17 Sep 2012 18:30:53 +0300

 > Ok, so that fixed the segfault at least. I think the LD_PRELOAD handling
 > is still incorrect. According to rtld(1), if LD_PRELOAD isn't an
 > absolute path, then LD_LIBRARY_PATH and the standard library path
 > (/lib:/usr/lib) should be searched. However, we're only searching
 > LD_LIBRARY_PATH in this case at the moment:
 
 That manual page references to "built-in standard directories", but
 does not define what they are.  Previously LD_PRELOAD set to not absolute
 path worked even for /usr/local/lib (as I understand because of ldconfig
 called for that directory).  I notice that net/proxychains that worked
 before on RELENG_9 did not work now (it calls any program with
 LD_PRELOAD=libproxychains.so, just install it and check shell script
 at bin/proxychains).
 
 > The attached patch addresses this problem as well.
 
 Yes, it works for /lib at least.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to