<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Looking back at the thread started by Rafe about installing and then
    getting the latest version to be the version used....<br>
    <br>
    I think we may need to update some advice pages, and perhaps some
    sane documentation? In particular this page:<br>
    <blockquote><a class="moz-txt-link-freetext" href="https://help.ubuntu.com/community/CompileSaneFromSource">https://help.ubuntu.com/community/CompileSaneFromSource</a><br>
    </blockquote>
    says Discover where your existing sane is installed :<br>
    <br>
           sudo find /usr/lib -name 'libsane-dll.so'<big><br>
    </big>
    <pre>
<big>But this did not work for Rafe, and does not now work for me on my ubuntu 14.10</big>
<big>Now it seems that
      find /usr -name 'libsane.s*'
Will detect existing sane installations. But is that the best distro independent way to detect them? 
(And is the file libsane-dll.so part of a sane installation anymore?)

Also in 
<a class="moz-txt-link-freetext" href="https://help.ubuntu.com/community/CompileSaneFromSource">https://help.ubuntu.com/community/CompileSaneFromSource</a>

There is advice on switching between versions of sane which says to edit <small>/etc/ld.so.conf</small></big></pre>
    <blockquote>To use the old version it should read <br>
      include /etc/ld.so.conf.d/*.conf
      <br>
      <span class="anchor" id="line-2-6"></span>include /usr/lib<span
        class="anchor" id="line-146"></span><span class="anchor"
        id="line-147"></span>
      <p class="line874">To use the new version, change it to<big><br>
        </big>include /etc/ld.so.conf.d/*.conf
        <span class="anchor" id="line-2-7"></span><br>
        include /usr/local/lib<span class="anchor" id="line-152"></span><span
          class="anchor" id="line-153"></span></p>
      <p class="line874">Then run    sudo ldconfig    <small><big>and
            you should be running the latest sane. </big><br>
        </small></p>
    </blockquote>
    <p class="line874">Now that seems very oversimplified because the
      many *.conf files in<br>
      /etc/ld.so.conf.d/<big><br>
      </big>Can point to where sane is.<br>
      I don't think I understand all this enough to give reliable
      advice, particularly for distros other than the one I am using.<br>
    </p>
    <p class="line874">Does anyone have ideas about how we should in
      general:<br>
      Detect all existing sane installations.<br>
      Advise what parameters to give to ./configure<br>
      Advise how to switch between multiple installations.<br>
    </p>
    <pre>
</pre>
    <br>
  </body>
</html>