<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This sounds like exactly the same issue as with RPATH.  If you have any<br>
location-specific info in the libraries, then "make shared" should RPATH<br>
the PREFIX despite installing to DESTDIR.  Apologies if this was obvious.</blockquote><div><br></div><div>It is the exact same problem, I believe:</div><div><br></div><div>install_name_tool -rpath old new</div><div><br></div>
<div>via</div><div><br></div><div><a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/install_name_tool.1.html">http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/install_name_tool.1.html</a></div>
<div><br></div><div>Sean</div></div>