Hello Challa, you likely have not installed the development packages (cyrus-sasl- devel or something similar).
Greetings Дилян On Thu, 2021-09-23 at 06:06 +0000, Challa N Kumar Reddy wrote: > Hi There, > > I have installed all the libraries including Cyrus SASL but while > trying to compile I am getting the captioned error, Could you please > advise. > > [nchalla@server openldap-2.5.7]$ ./configure --prefix=/u01/ldap -- > disable-static --enable-debug --with-tls=auto --with-cyrus-sasl -- > enable-dynamic --enable-crypt --enable-spasswd --enable-slapd -- > enable-modules --enable-rlookups --enable-backends=mod --disable-ndb > --disable-sql --disable-wt --enable-overlays=mod > Configuring OpenLDAP 2.5.7-Release ... > checking build system type... x86_64-pc-linux-gnu > checking host system type... x86_64-pc-linux-gnu > checking target system type... x86_64-pc-linux-gnu > checking configure arguments... done > checking for cc... cc > checking for ar... ar > checking for strip... strip > checking whether make sets $(MAKE)... yes > checking how to print strings... printf > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether cc accepts -g... yes > checking for cc option to accept ISO C89... none needed > checking for a sed that does not truncate output... /usr/bin/sed > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for fgrep... /usr/bin/grep -F > checking for ld used by cc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1572864 > checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc- > linux-gnu format... func_convert_file_noop > checking how to convert x86_64-pc-linux-gnu file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... dlltool > checking how to associate runtime and link libraries... printf %s\n > checking for archiver @FILE support... @ > checking for ranlib... ranlib > checking for gawk... gawk > checking command to parse /usr/bin/nm -B output from cc object... ok > checking for sysroot... no > checking for a working dd... /usr/bin/dd > checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 > checking for mt... no > checking if : is a manifest tool... no > checking how to run the C preprocessor... cc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if cc supports -fno-rtti -fno-exceptions... no > checking for cc option to produce PIC... -fPIC -DPIC > checking if cc PIC flag -fPIC -DPIC works... yes > checking if cc static flag -static works... no > checking if cc supports -c -o file.o... yes > checking if cc supports -c -o file.o... (cached) yes > checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for shl_load... no > checking for shl_load in -ldld... no > checking for dlopen... no > checking for dlopen in -ldl... yes > checking whether a program can dlopen itself... yes > checking whether a statically linked program can dlopen itself... yes > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > checking how to run the C preprocessor... cc -E > checking whether we are using MS Visual C++... no > checking for windres... no > checking for be_app in -lbe... no > checking whether we are using the GNU C compiler... (cached) yes > checking whether cc accepts -g... (cached) yes > checking for cc option to accept ISO C89... (cached) none needed > checking for cc depend flag... -M > checking for afopen in -ls... no > checking ltdl.h usability... yes > checking ltdl.h presence... yes > checking for ltdl.h... yes > checking for lt_dlinit in -lltdl... yes > checking for EBCDIC... no > checking for ANSI C header files... yes > checking for dirent.h that defines DIR... yes > checking for library containing opendir... none required > checking for sys/wait.h that is POSIX.1 compatible... yes > checking whether termios.h defines TIOCGWINSZ... no > checking whether sys/ioctl.h defines TIOCGWINSZ... yes > checking arpa/inet.h usability... yes > checking arpa/inet.h presence... yes > checking for arpa/inet.h... yes > checking arpa/nameser.h usability... yes > checking arpa/nameser.h presence... yes > checking for arpa/nameser.h... yes > checking assert.h usability... yes > checking assert.h presence... yes > checking for assert.h... yes > checking bits/types.h usability... yes > checking bits/types.h presence... yes > checking for bits/types.h... yes > checking conio.h usability... no > checking conio.h presence... no > checking for conio.h... no > checking crypt.h usability... yes > checking crypt.h presence... yes > checking for crypt.h... yes > checking direct.h usability... no > checking direct.h presence... no > checking for direct.h... no > checking errno.h usability... yes > checking errno.h presence... yes > checking for errno.h... yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking filio.h usability... no > checking filio.h presence... no > checking for filio.h... no > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking grp.h usability... yes > checking grp.h presence... yes > checking for grp.h... yes > checking io.h usability... no > checking io.h presence... no > checking for io.h... no > checking libutil.h usability... no > checking libutil.h presence... no > checking for libutil.h... no > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking locale.h usability... yes > checking locale.h presence... yes > checking for locale.h... yes > checking malloc.h usability... yes > checking malloc.h presence... yes > checking for malloc.h... yes > checking for memory.h... (cached) yes > checking psap.h usability... no > checking psap.h presence... no > checking for psap.h... no > checking pwd.h usability... yes > checking pwd.h presence... yes > checking for pwd.h... yes > checking process.h usability... no > checking process.h presence... no > checking for process.h... no > checking sgtty.h usability... yes > checking sgtty.h presence... yes > checking for sgtty.h... yes > checking shadow.h usability... yes > checking shadow.h presence... yes > checking for shadow.h... yes > checking stddef.h usability... yes > checking stddef.h presence... yes > checking for stddef.h... yes > checking for string.h... (cached) yes > checking for strings.h... (cached) yes > checking sysexits.h usability... yes > checking sysexits.h presence... yes > checking for sysexits.h... yes > checking sys/file.h usability... yes > checking sys/file.h presence... yes > checking for sys/file.h... yes > checking sys/filio.h usability... no > checking sys/filio.h presence... no > checking for sys/filio.h... no > checking sys/fstyp.h usability... no > checking sys/fstyp.h presence... no > checking for sys/fstyp.h... no > checking sys/errno.h usability... yes > checking sys/errno.h presence... yes > checking for sys/errno.h... yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking sys/param.h usability... yes > checking sys/param.h presence... yes > checking for sys/param.h... yes > checking sys/privgrp.h usability... no > checking sys/privgrp.h presence... no > checking for sys/privgrp.h... no > checking sys/resource.h usability... yes > checking sys/resource.h presence... yes > checking for sys/resource.h... yes > checking sys/select.h usability... yes > checking sys/select.h presence... yes > checking for sys/select.h... yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking for sys/stat.h... (cached) yes > checking sys/syslog.h usability... yes > checking sys/syslog.h presence... yes > checking for sys/syslog.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking for sys/types.h... (cached) yes > checking sys/uio.h usability... yes > checking sys/uio.h presence... yes > checking for sys/uio.h... yes > checking sys/vmount.h usability... no > checking sys/vmount.h presence... no > checking for sys/vmount.h... no > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking termios.h usability... yes > checking termios.h presence... yes > checking for termios.h... yes > checking for unistd.h... (cached) yes > checking utime.h usability... yes > checking utime.h presence... yes > checking for utime.h... yes > checking for resolv.h... yes > checking for netinet/tcp.h... yes > checking for sys/ucred.h... no > checking for sigaction... yes > checking for sigset... yes > checking for fmemopen... yes > checking for socket... yes > checking for select... yes > checking for sys/select.h... (cached) yes > checking for sys/socket.h... (cached) yes > checking types of arguments for select... int,fd_set *,struct timeval > * > checking for poll... yes > checking poll.h usability... yes > checking poll.h presence... yes > checking for poll.h... yes > checking sys/poll.h usability... yes > checking sys/poll.h presence... yes > checking for sys/poll.h... yes > checking sys/epoll.h usability... yes > checking sys/epoll.h presence... yes > checking for sys/epoll.h... yes > checking for epoll system call... yes > checking sys/event.h usability... no > checking sys/event.h presence... no > checking for sys/event.h... no > checking sys/devpoll.h usability... no > checking sys/devpoll.h presence... no > checking for sys/devpoll.h... no > checking for strerror... yes > checking for strerror_r... yes > checking non-posix strerror_r... no > checking for regex.h... yes > checking for library containing regfree... none required > checking for compatible POSIX regex... yes > checking sys/uuid.h usability... no > checking sys/uuid.h presence... no > checking for sys/uuid.h... no > checking uuid/uuid.h usability... no > checking uuid/uuid.h presence... no > checking for uuid/uuid.h... no > checking to see if -lrpcrt4 is needed for win32 UUID support... no > checking for resolver link (default)... no > checking for resolver link (-lresolv)... yes > checking for hstrerror... yes > checking for getaddrinfo... yes > checking for getnameinfo... yes > checking for gai_strerror... yes > checking for inet_ntop... yes > checking INET6_ADDRSTRLEN... yes > checking struct sockaddr_storage... yes > checking sys/un.h usability... yes > checking sys/un.h presence... yes > checking for sys/un.h... yes > checking openssl/ssl.h usability... no > checking openssl/ssl.h presence... no > checking for openssl/ssl.h... no > checking gnutls/gnutls.h usability... no > checking gnutls/gnutls.h presence... no > checking for gnutls/gnutls.h... no > configure: WARNING: Could not locate TLS/SSL package > configure: WARNING: TLS data protection not supported! > checking for _beginthread... no > checking pthread.h usability... yes > checking pthread.h presence... yes > checking for pthread.h... yes > checking POSIX thread version... 10 > checking for LinuxThreads pthread.h... no > checking for GNU Pth pthread.h... no > checking sched.h usability... yes > checking sched.h presence... yes > checking for sched.h... yes > checking for pthread_create in default libraries... no > checking for pthread link with -kthread... no > checking for pthread link with -pthread... yes > checking for sched_yield... yes > checking for pthread_yield... yes > checking for thr_yield... no > checking for pthread_kill... yes > checking for pthread_rwlock_destroy with <pthread.h>... yes > checking for pthread_detach with <pthread.h>... yes > checking for pthread_setconcurrency... yes > checking for pthread_getconcurrency... yes > checking for thr_setconcurrency... no > checking for thr_getconcurrency... no > checking for pthread_kill_other_threads_np... no > checking for LinuxThreads implementation... no > checking for LinuxThreads consistency... no > checking if pthread_create() works... yes > checking if select yields when using pthreads... yes > checking for thread specific errno... yes > checking for thread specific h_errno... yes > checking for ctime_r... yes > checking for gmtime_r... yes > checking for localtime_r... yes > checking for gethostbyname_r... yes > checking for gethostbyaddr_r... yes > checking number of arguments of ctime_r... 2 > checking number of arguments of gethostbyname_r... 6 > checking number of arguments of gethostbyaddr_r... 8 > checking for openlog... yes > checking sasl/sasl.h usability... no > checking sasl/sasl.h presence... no > checking for sasl/sasl.h... no > checking sasl.h usability... no > checking sasl.h presence... no > checking for sasl.h... no > configure: error: Could not locate Cyrus SASL > > Thanks in advance! > > -Narendra
