<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jan 14, 2017 at 8:45 AM, <span dir="ltr"><<a href="mailto:dominic@steinitz.org" target="_blank">dominic@steinitz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Apologies. I put the output of “-l” (not “-L”) here: <a href="https://gist.github.com/idontgetoutmuch/654007ac57e863a293b76a0cf98250c1" target="_blank">https://gist.github.com/<wbr>idontgetoutmuch/<wbr>654007ac57e863a293b76a0cf98250<wbr>c1</a><div><br></div><div>I couldn’t immediately see anything that tells me how @rpath is resolved.</div></div></blockquote><div><br></div><div>Hm, no RPATH entries indeed. There's no fallback for executables, so it's probably not even looking for the library but just failing immediately. You could probably make this work by forcing an RPATH entry (-Wl,-rpath,...). (Or, use "install_name_tool -add_rpath the_path_here a.out" to patch one into the existing binary.)<div class="gmail_extra"><br></div></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>