[CXX-613] Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... no Created: 11/Jun/15  Updated: 11/Sep/19  Resolved: 11/Jun/15

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: legacy-1.0.0
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Sergei Assignee: Unassigned
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

xubuntu-14.04, gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)



 Description   

When I try build cxx-driver with "--ssl --use-sasl-client" I get this:
scons: Reading SConscript files ...
scons version: 2.3.0
python version: 2 7 6 'final' 0
Checking whether the C++ compiler works(cached) yes
Checking whether the C compiler works(cached) yes
Checking if C++ compiler "g++" is GCC... (cached) yes
Checking if C compiler "gcc" is GCC... (cached) yes
Checking if C compiler supports -Wno-unused-local-typedefs... (cached) yes
Checking if C compiler supports -Wno-unused-function... (cached) yes
Checking if C compiler supports -Wno-unused-private-field... (cached) no
Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no
Checking if C compiler supports -Wno-unused-const-variable... (cached) no
Checking if C compiler supports -Wno-missing-braces... (cached) yes
Checking if we are using libstdc++... (cached) yes
Checking for libstdc++ 4.6.0 or better... (cached) yes
Checking if we are on a POSIX system... (cached) yes
Checking if the POSIX monotonic clock is supported... (cached) yes
Checking for __thread... (cached) yes
Checking for gcc __atomic builtins... (cached) yes
Checking for C++ header file boost/version.hpp... (cached) yes
Checking for C++ library boost_regex-mt... (cached) no
Checking for C++ library boost_regex... (cached) yes
Checking for C++ library boost_thread-mt... (cached) no
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system-mt... (cached) no
Checking for C++ library boost_system... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for C library rt... (cached) yes
Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... no

and this stop. But I have libsasl2 in my computer



 Comments   
Comment by Andrew Morrow (Inactive) [ 11/Jun/15 ]

Happy to hear you were able to get it working.

Comment by Sergei [ 11/Jun/15 ]

re-run scons with the flag --config=force resolve this. Thanks a lot

Comment by Andrew Morrow (Inactive) [ 11/Jun/15 ]

Could you please re-run scons, but adding the flag --config=force. If it still fails, please attach the contents of the file build/scons/config.log.

Comment by Sergei [ 11/Jun/15 ]

yes, libsasl2-dev installed:

$ dpkg -l | grep sasl2
ii libsasl2-2:amd64 2.1.25.dfsg1-17build1 amd64 Cyrus SASL - authentication abstraction library
ii libsasl2-2:i386 2.1.25.dfsg1-17build1 i386 Cyrus SASL - authentication abstraction library
ii libsasl2-dev 2.1.25.dfsg1-17build1 amd64 Cyrus SASL - development files for authentication abstraction library
ii libsasl2-modules:amd64 2.1.25.dfsg1-17build1 amd64 Cyrus SASL - pluggable authentication modules
ii libsasl2-modules:i386 2.1.25.dfsg1-17build1 i386 Cyrus SASL - pluggable authentication modules
ii libsasl2-modules-db:amd64 2.1.25.dfsg1-17build1 amd64 Cyrus SASL - pluggable authentication modules (DB)
ii libsasl2-modules-db:i386 2.1.25.dfsg1-17build1 i386 Cyrus SASL - pluggable authentication modules (DB)

Comment by Andrew Morrow (Inactive) [ 11/Jun/15 ]

Hi ssi91 -

What is the output of

 dpkg -l | grep sasl2 

on your machine. Do you have the -dev package for sasl2 installed?

Generated at Wed Feb 07 21:59:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.