So libsasl2.so.3 is in your docker VM.

Can you give the full error w.r.t. libsasl2.so.3 not being opened (I assume
you got the error within docker) ?

On Fri, Sep 22, 2017 at 9:53 AM, Andrzej <borucki_andr...@wp.pl> wrote:

> W dniu 22.09.2017 o 18:19, Ted Yu pisze:
>
>> On my docker VM, I found the following:
>>
>> /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
>> /usr/lib/x86_64-linux-gnu/libsasl2.so.2
>> /usr/local/lib/libsasl2.so.3.0.0
>> /usr/local/lib/libsasl2.so.3
>>
>
> In my docker:
> root@securecluster:/usr/src/hbase/hbase-native-client# whereis  libsasl2
> libsasl2: /usr/local/lib/libsasl2.so /usr/local/lib/libsasl2.la
> root@securecluster:/usr/src/hbase/hbase-native-client# ls
> /usr/local/lib/libsasl*
> /usr/local/lib/libsasl2.la  /usr/local/lib/libsasl2.so.3
> /usr/local/lib/libsasl2.so  /usr/local/lib/libsasl2.so.3.0.0
> root@securecluster:/usr/src/hbase/hbase-native-client#
>
>
> Take a look at the first RUN command in:
>>
>> hbase-native-client/docker-files/Dockerfile
>>
>
> FROM pjameson/buck-folly-watchman:20160511
>
> ARG CC=/usr/bin/gcc-5
> ARG CXX=/usr/bin/g++-5
> ARG CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -g -fno-omit-frame-pointer
> -O2 -pthread"
> ARG CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -g -fno-omit-frame-pointer
> -O2 -pthread"
>
> ENV JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"
>
> RUN wget ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz ; \
>     tar zxf cyrus-sasl-2.1.26.tar.gz ; \
>     cd cyrus-sasl-2.1.26 ; \
>     ./configure ; \
>     make ; \
>     make install ;\
>     cp /usr/local/lib/sasl2/* /usr/lib/sasl2/
>
>
> Similar to this RUN I must do outside docker?
>

Reply via email to