<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 09/11/2013 10:18 PM, Anand Avati
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFboF2xCEYrVSrXxBmWURdMvpRuEwm13G4TuYygkriAxhGr0GA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <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>
                <div class="h5"><br>
                </div>
              </div>
              checking api/glfs.h usability... yes<br>
              checking api/glfs.h presence... yes<br>
              checking for api/glfs.h... yes<br>
              checking for glfs_init... no<br>
              <br>
              Cannot link to gfapi (glfs_init). Please specify
              --with-glusterfs=dir if necessary<br>
            </blockquote>
            <div><br>
            </div>
            <div>I see what can be causing this. <a
                moz-do-not-send="true" href="http://configure.ac">configure.ac</a>
              has a hardcoded "-L$with_glusterfs/lib64" in line 74. That
              should be changed to "-L$with_glusterfs/lib
              -L$with_glusterfs/lib64" to allow for both dirs. I am
              suspecting you have libglusterfs installed under
              $prefx/usr/lib? For now you can create a symlink called
              lib64 to point to lib under&nbsp;<span
                style="font-size:13px;font-family:arial,sans-serif">/data/</span><span
                style="font-size:13px;font-family:arial,sans-serif">gluster/glusterfs-3.4.0final/</span><span
                style="font-size:13px;font-family:arial,sans-serif">debian/tmp/usr.</span></div>
            <div><span
                style="font-size:13px;font-family:arial,sans-serif"><br>
              </span></div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Do you mean configure.in and this section?<br>
    <br>
    AC_ARG_WITH(glusterfs,<br>
    [&nbsp; --with-glusterfs=DIR&nbsp;&nbsp;&nbsp; Use custom GlusterFS installation path
    (default=/usr)])<br>
    <br>
    if test "x$with_glusterfs" = "x"; then<br>
    &nbsp;&nbsp; CPPFLAGS="$CPPFLAGS -I/usr/include/glusterfs";<br>
    &nbsp;&nbsp; LDFLAGS="$LDFLAGS -L/usr/lib -L/usr/lib64 -lgfapi -lglusterfs
    -lgfrpc -lgfxdr"<br>
    else<br>
    &nbsp;&nbsp; CPPFLAGS="$CPPFLAGS -I$with_glusterfs/include/glusterfs"<br>
    &nbsp;&nbsp; LDFLAGS="$LDFLAGS -L$with_glusterfs/lib -L$with_glusterfs/lib64
    -lgfapi -lglusterfs -lgfrpc -lgfxdr"<br>
    fi<br>
    <br>
    <br>
    Anyway, ln -s lib lib64 didn't help.<br>
    <br>
    BTW, libglusterfs is not installed separately on Ubuntu, the files
    are in glusterfs-common and it lacks glfs.h.<br>
    <br>
    <br>
    Thanks,<br>
    tamas<br>
  </body>
</html>