Re: Building SASL client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> 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(connection-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(connection-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(connection-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


[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux