<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 23 March 2016 at 15:54, Bill Randle <span dir="ltr">&lt;<a href="mailto:william.c.randle@intel.com" target="_blank">william.c.randle@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":fn1" class="" style="overflow:hidden">+    lib_re = re.compile(&quot;^/lib.+\.so(\.\d+){0,3}$&quot;)<br>
+    exec_re = re.compile(&quot;^%s.*/lib.+\.so(\.\d+){0,3}$&quot; % exec_prefix)<br></div></blockquote></div><br>I worry that this goes too far in the other way, my Debian host has a library called /usr/lib/libblas.so.3gf.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Maybe we should add a &quot;is this an ELF&quot; test into the libdir check instead?  That might kill performance though, and this is just a sanity check.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Any other thoughts?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>