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