<div dir="ltr">Thanks for the quick response.<div>I use buck to build the client.</div><div><br><div>    linker_flags = ['-lsasl2','-lgssapi_krb5','-lkrb5','-lk5crypto','-lcom_err','-lkrb5support'],<br></div></div><div><br></div><div>I still got compilation errors w.r.t. undefined references.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 9:51 AM, Dan White <span dir="ltr"><<a href="mailto:dwhite@olp.net" target="_blank">dwhite@olp.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/06/17 09:23 -0800, Ted Yu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I followed <a href="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/" rel="noreferrer" target="_blank">http://www.linuxfromscratch.or<wbr>g/blfs/view/svn/postlfs/</a><br>
cyrus-sasl.html to install Cyrus SASL.<span class=""><br>
<br>
I am trying to find the library containing the following methods:<br>
<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/buck-out/gen/<br>
connection/connection#default,<wbr>static/libconnection.a(connect<wbr>ion-factory.cc.o):<br>
In function `SaslHandler':<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/connection/connection-fac<wbr>tory.cc:59:<br>
undefined reference to `sasl_client_new'<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/connection/connection-fac<wbr>tory.cc:73:<br>
undefined reference to `sasl_setprop'<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/buck-out/gen/<br>
connection/connection#default,<wbr>static/libconnection.a(connect<wbr>ion-factory.cc.o):<br>
In function `~SaslHandler':<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/connection/connection-fac<wbr>tory.cc:78:<br>
undefined reference to `sasl_dispose'<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/buck-out/gen/<br>
connection/connection#default,<wbr>static/libconnection.a(connect<wbr>ion-factory.cc.o):<br>
In function `SaslHandler::setupSaslConn()'<wbr>:<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/connection/connection-fac<wbr>tory.cc:103:<br>
undefined reference to `sasl_client_init'<br>
/usr/src/hbase/hbase-native-cl<wbr>ient/connection/connection-fac<wbr>tory.cc:105:<br>
undefined reference to `sasl_client_start'<br>
<br>
The following libs didn't contain the above methods:<br>
<br>
GSSAPIBASE_LIBS =  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support<br>
</span></blockquote>
<br>
-lsasl2<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Dan White<br>
</font></span></blockquote></div><br></div>