Building SASL client

Ted Yu yuzhihong at gmail.com
Mon Mar 6 12:54:13 EST 2017


Thanks for the quick response.
I use buck to build the client.

    linker_flags =
['-lsasl2','-lgssapi_krb5','-lkrb5','-lk5crypto','-lcom_err','-lkrb5support'],

I still got compilation errors w.r.t. undefined references.

On Mon, Mar 6, 2017 at 9:51 AM, Dan White <dwhite at olp.net> wrote:

> On 03/06/17 09:23 -0800, Ted Yu wrote:
>
>> Hi,
>> I followed http://www.linuxfromscratch.org/blfs/view/svn/postlfs/
>> cyrus-sasl.html to install Cyrus SASL.
>>
>> I am trying to find the library containing the following methods:
>>
>> /usr/src/hbase/hbase-native-client/buck-out/gen/
>> connection/connection#default,static/libconnection.a(connect
>> ion-factory.cc.o):
>> In function `SaslHandler':
>> /usr/src/hbase/hbase-native-client/connection/connection-factory.cc:59:
>> undefined reference to `sasl_client_new'
>> /usr/src/hbase/hbase-native-client/connection/connection-factory.cc:73:
>> undefined reference to `sasl_setprop'
>> /usr/src/hbase/hbase-native-client/buck-out/gen/
>> connection/connection#default,static/libconnection.a(connect
>> ion-factory.cc.o):
>> In function `~SaslHandler':
>> /usr/src/hbase/hbase-native-client/connection/connection-factory.cc:78:
>> undefined reference to `sasl_dispose'
>> /usr/src/hbase/hbase-native-client/buck-out/gen/
>> connection/connection#default,static/libconnection.a(connect
>> ion-factory.cc.o):
>> In function `SaslHandler::setupSaslConn()':
>> /usr/src/hbase/hbase-native-client/connection/connection-factory.cc:103:
>> undefined reference to `sasl_client_init'
>> /usr/src/hbase/hbase-native-client/connection/connection-factory.cc:105:
>> undefined reference to `sasl_client_start'
>>
>> The following libs didn't contain the above methods:
>>
>> GSSAPIBASE_LIBS =  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support
>>
>
> -lsasl2
>
> --
> Dan White
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20170306/a4ca0da6/attachment.html>


More information about the Cyrus-sasl mailing list