Re: Building SASL client
Dan White <[email protected]>
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <[email protected]> |
For the same references? Verify that libsasl2.so.2 can be found by the build system. On 03/06/17Â 09:54Â -0800, Ted Yu wrote: >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 <[email protected]> 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