Hi,
I am using ubuntu 12.04lts
I installed cyrus sasl version 2.1.26 using the following steps: ./configure --disable-digest --without-saslauthd make make install
I had to use the option without-saslauthd, otherwise it would fail.
Now I tried to install openldap 2.4.40 with the following options ./configure --enable-hdb --enable-ppolicy --enable-syncprov --with-cyrus-sasl
During make test, I get the error: ../clients/tools/ldapsearch: error while loading shared libraries: libsasl2.so.3: cannot open shared object file: No such file or directory
Do I need to use the option --with-saslauthd while installing cyrus sasl to be able to use --with-cyrus-sasl option while installing openldap?
-Guruprasad
--On November 14, 2014 at 6:20:58 PM -0500 Guruprasad Kulkarni gkulkarni@gridcosystems.com wrote:
Do I need to use the option --with-saslauthd while installing cyrus sasl to be able to use --with-cyrus-sasl option while installing openldap?
No.
--Quanah
Am Fri, 14 Nov 2014 18:20:58 -0500 schrieb Guruprasad Kulkarni gkulkarni@gridcosystems.com:
Hi,
I am using ubuntu 12.04lts
I installed cyrus sasl version 2.1.26 using the following steps: ./configure --disable-digest --without-saslauthd make make install
I had to use the option without-saslauthd, otherwise it would fail.
Now I tried to install openldap 2.4.40 with the following options ./configure --enable-hdb --enable-ppolicy --enable-syncprov --with-cyrus-sasl
During make test, I get the error: ../clients/tools/ldapsearch: error while loading shared libraries: libsasl2.so.3: cannot open shared object file: No such file or directory
Do I need to use the option --with-saslauthd while installing cyrus sasl to be able to use --with-cyrus-sasl option while installing openldap?
No, you don't. But what you should do is pointing configure and make to the libsasl2 and sasl.h path. An other hint, configure the dynamic linker to provide the path to libsasl2.
-Dieter
Hi,
The default installation for cyrus-sasl is /usr/local/lib/sasl2
I created a symlink from /usr/local/lib/sasl2 to /usr/lib/sasl2
I set LDFLAGS="-L/usr/lib/sasl2"
I then configured openldap: ./configure --enable-hdb --enable-ppolicy --enable-syncprov --with-cyrus-sasl
During make depend, I get the error: plugin.c:33:18: fatal error: ltdl.h: No such file or directory
I searched my filesystem and could not find this header file.
Have I set the right flag? I am new to openldap and linux, so please forgive my limited knowledge
-Guruprasad
On Sat, Nov 15, 2014 at 2:35 AM, Dieter Klünter dieter@dkluenter.de wrote:
Am Fri, 14 Nov 2014 18:20:58 -0500 schrieb Guruprasad Kulkarni gkulkarni@gridcosystems.com:
Hi,
I am using ubuntu 12.04lts
I installed cyrus sasl version 2.1.26 using the following steps: ./configure --disable-digest --without-saslauthd make make install
I had to use the option without-saslauthd, otherwise it would fail.
Now I tried to install openldap 2.4.40 with the following options ./configure --enable-hdb --enable-ppolicy --enable-syncprov --with-cyrus-sasl
During make test, I get the error: ../clients/tools/ldapsearch: error while loading shared libraries: libsasl2.so.3: cannot open shared object file: No such file or directory
Do I need to use the option --with-saslauthd while installing cyrus sasl to be able to use --with-cyrus-sasl option while installing openldap?
No, you don't. But what you should do is pointing configure and make to the libsasl2 and sasl.h path. An other hint, configure the dynamic linker to provide the path to libsasl2.
-Dieter
-- Dieter Klünter | Systemberatung http://sys4.de GPG Key ID: E9ED159B 53°37'09,95"N 10°08'02,42"E
On Sat, Nov 15, 2014 at 08:57:17AM -0500, Guruprasad Kulkarni wrote:
Hi,
The default installation for cyrus-sasl is /usr/local/lib/sasl2 I created a symlink from /usr/local/lib/sasl2 to /usr/lib/sasl2
I set LDFLAGS="-L/usr/lib/sasl2"
I then configured openldap: ./configure --enable-hdb --enable-ppolicy --enable-syncprov --with-cyrus-sasl
During make depend, I get the error: plugin.c:33:18: fatal error: ltdl.h: No such file or directory
I searched my filesystem and could not find this header file.
You might check if you have the libltdl-dev package installed (not an Ubuntu user, fair warning). On Debian derivatives you can also install apt-file, do 'apt-file update' as root and then, at least for my Debian 7 machine:
$ apt-file search ltdl.h lam4-dev: /usr/include/lam/lam_ltdl.h libltdl-dev: /usr/include/ltdl.h libltdl-dev: /usr/share/libtool/libltdl/ltdl.h libnewlib-dev: /usr/lib/newlib/i486-linux-gnu/include/ltdl.h libopenmpi-dev: /usr/lib/openmpi/include/openmpi/opal/libltdl/ltdl.h
Generally you'll see that if you install "libthing" you will also have to install a package like "libthing-dev" or "libthing-devel" to also get the headers that you can use to compile things with.
If you're compiling you might also consider linking against OpenSSL not GnuTLS for your ssl/tls, the topic intermittently comes up on this list and the response is "use openssl".
Have I set the right flag? I am new to openldap and linux, so please forgive my limited knowledge -Guruprasad On Sat, Nov 15, 2014 at 2:35 AM, Dieter Klünter <[1]dieter@dkluenter.de> wrote:
Am Fri, 14 Nov 2014 18:20:58 -0500 schrieb Guruprasad Kulkarni <[2]gkulkarni@gridcosystems.com>: > Hi, > > I am using ubuntu 12.04lts > > I installed cyrus sasl version 2.1.26 using the following steps: > ./configure --disable-digest --without-saslauthd > make > make install > > I had to use the option without-saslauthd, otherwise it would fail. > > > Now I tried to install openldap 2.4.40 with the following options > ./configure --enable-hdb --enable-ppolicy --enable-syncprov > --with-cyrus-sasl > > During make test, I get the error: > ../clients/tools/ldapsearch: error while loading shared libraries: > libsasl2.so.3: cannot open shared object file: No such file or > directory > > Do I need to use the option --with-saslauthd while installing cyrus > sasl to be able to use --with-cyrus-sasl option while installing > openldap? No, you don't. But what you should do is pointing configure and make to the libsasl2 and sasl.h path. An other hint, configure the dynamic linker to provide the path to libsasl2. -Dieter -- Dieter Klünter | Systemberatung [3]http://sys4.de GPG Key ID: E9ED159B 53°37'09,95"N 10°08'02,42"E
References
Visible links
- mailto:dieter@dkluenter.de
- mailto:gkulkarni@gridcosystems.com
- http://sys4.de/
Configuring OpenLDAP 2.4.40-Release ... checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking configure arguments... done checking for cc... cc checking for ar... ar checking for style of include used by make... GNU 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 dependency style of cc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ranlib... ranlib checking for strip... strip checking if cc static flag works... yes checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... 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 whether stripping libraries is possible... yes 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 if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool checking how to run the C preprocessor... cc -E checking whether we are using MS Visual C++... 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 dependency style of cc... (cached) none checking for cc depend flag... -M checking for afopen in -ls... no 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 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/devpoll.h usability... no checking sys/devpoll.h presence... no checking for sys/devpoll.h... no checking declaration of sys_errlist... yes 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 checking nssutil.h usability... no checking nssutil.h presence... no checking for nssutil.h... no 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 db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 5 checking for Berkeley DB minor version in db.h... 1 checking if Berkeley DB version supported by BDB/HDB backends... yes checking for Berkeley DB link (-ldb-5.1)... yes checking for Berkeley DB library and header version match... yes checking for Berkeley DB thread support... yes checking for openlog... yes checking unicode/utypes.h usability... no checking unicode/utypes.h presence... no checking for unicode/utypes.h... no checking sasl/sasl.h usability... yes checking sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking sasl.h usability... no checking sasl.h presence... no checking for sasl.h... no checking for sasl_client_init in -lsasl2... yes checking Cyrus SASL library version... yes checking for sasl_version... yes checking fetch(3) library... no checking for setproctitle... no checking for setproctitle in -lutil... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for ssize_t... yes checking for caddr_t... yes checking for size_t... yes checking for long long... yes checking for ptrdiff_t... yes checking for socklen_t... yes checking the type of arg 3 to accept()... socklen_t * checking return type of signal handlers... void checking for sig_atomic_t... yes checking for uid_t in sys/types.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct passwd.pw_gecos... yes checking for struct passwd.pw_passwd... yes checking if toupper() requires islower()... no checking for an ANSI C-conforming const... yes checking if compiler understands volatile... yes checking whether byte ordering is bigendian... no checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of wchar_t... 4 checking for working memcmp... yes checking for strftime... yes checking for inet_aton()... yes checking for _spawnlp... no checking for _snprintf... no checking for vsnprintf... yes checking for _vsnprintf... no checking for vprintf... yes checking for _doprnt... no checking for snprintf... yes checking for vsnprintf... (cached) yes checking for bcopy... yes checking for closesocket... no checking for chroot... yes checking for endgrent... yes checking for endpwent... yes checking for fcntl... yes checking for flock... yes checking for fstat... yes checking for getdtablesize... yes checking for geteuid... yes checking for getgrgid... yes checking for gethostname... yes checking for getpassphrase... no checking for getpwuid... yes checking for getpwnam... yes checking for getspnam... yes checking for gettimeofday... yes checking for initgroups... yes checking for inet_ntoa_b... no checking for ioctl... yes checking for lockf... yes checking for memcpy... yes checking for memmove... yes checking for memrchr... yes checking for mkstemp... yes checking for mktemp... yes checking for pipe... yes checking for read... yes checking for recv... yes checking for recvfrom... yes checking for setpwfile... no checking for setgid... yes checking for setegid... yes checking for setsid... yes checking for setuid... yes checking for seteuid... yes checking for signal... yes checking for strdup... yes checking for strpbrk... yes checking for strrchr... yes checking for strsep... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoq... yes checking for strtouq... yes checking for strtoll... yes checking for strtoull... yes checking for strspn... yes checking for sysconf... yes checking for waitpid... yes checking for wait4... yes checking for write... yes checking for send... yes checking for sendmsg... yes checking for sendto... yes checking for getopt... yes checking for getpeereid... no checking for getpeerucred... no checking for struct msghdr.msg_accrightslen... no checking for struct msghdr.msg_control... yes checking for struct stat.st_fstype... no checking for struct stat.st_vfstype... no configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating doc/man/man1/Makefile config.status: creating doc/man/man3/Makefile config.status: creating doc/man/man5/Makefile config.status: creating doc/man/man8/Makefile config.status: creating clients/Makefile config.status: creating clients/tools/Makefile config.status: creating include/Makefile config.status: creating libraries/Makefile config.status: creating libraries/liblber/Makefile config.status: creating libraries/libldap/Makefile config.status: creating libraries/libldap_r/Makefile config.status: creating libraries/liblunicode/Makefile config.status: creating libraries/liblutil/Makefile config.status: creating libraries/librewrite/Makefile config.status: creating servers/Makefile config.status: creating servers/slapd/Makefile config.status: creating servers/slapd/back-bdb/Makefile config.status: creating servers/slapd/back-dnssrv/Makefile config.status: creating servers/slapd/back-hdb/Makefile config.status: creating servers/slapd/back-ldap/Makefile config.status: creating servers/slapd/back-ldif/Makefile config.status: creating servers/slapd/back-mdb/Makefile config.status: creating servers/slapd/back-meta/Makefile config.status: creating servers/slapd/back-monitor/Makefile config.status: creating servers/slapd/back-ndb/Makefile config.status: creating servers/slapd/back-null/Makefile config.status: creating servers/slapd/back-passwd/Makefile config.status: creating servers/slapd/back-perl/Makefile config.status: creating servers/slapd/back-relay/Makefile config.status: creating servers/slapd/back-shell/Makefile config.status: creating servers/slapd/back-sock/Makefile config.status: creating servers/slapd/back-sql/Makefile config.status: creating servers/slapd/shell-backends/Makefile config.status: creating servers/slapd/slapi/Makefile config.status: creating servers/slapd/overlays/Makefile config.status: creating tests/Makefile config.status: creating tests/run config.status: creating tests/progs/Makefile config.status: creating include/portable.h config.status: include/portable.h is unchanged config.status: creating include/ldap_features.h config.status: include/ldap_features.h is unchanged config.status: creating include/lber_types.h config.status: include/lber_types.h is unchanged config.status: executing depfiles commands config.status: executing default commands Making servers/slapd/backends.c Add config ... Add ldif ... Add monitor ... Add bdb ... Add hdb ... Add mdb ... Add relay ... Making servers/slapd/overlays/statover.c Add ppolicy ... Add syncprov ... Please run "make depend" to build dependencies
Making depend in /home/ubuntu/openldap-2.4.40 Entering subdirectory include make[1]: Entering directory `/home/ubuntu/openldap-2.4.40/include' Making ldap_config.h make[1]: Leaving directory `/home/ubuntu/openldap-2.4.40/include'
Entering subdirectory libraries make[1]: Entering directory `/home/ubuntu/openldap-2.4.40/libraries' Making depend in /home/ubuntu/openldap-2.4.40/libraries Entering subdirectory liblutil make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/libraries/liblutil' ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include base64.c entropy.c sasl.c signal.c hash.c passfile.c md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c avl.c tavl.c testavl.c meter.c setproctitle.c getpeereid.c detach.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/libraries/liblutil'
Entering subdirectory liblber make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/libraries/liblber' ../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../include -I../../include assert.c decode.c encode.c io.c bprint.c debug.c memory.c options.c sockbuf.c stdio.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/libraries/liblber'
Entering subdirectory liblunicode make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/libraries/liblunicode' ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include ucstr.c ucdata.c ucgendat.c ure.c urestubs.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/libraries/liblunicode'
Entering subdirectory libldap make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/libraries/libldap' ../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../include -I../../include bind.c open.c result.c error.c compare.c search.c controls.c messages.c references.c extended.c cyrus.c modify.c add.c modrdn.c delete.c abandon.c sasl.c gssapi.c sbind.c unbind.c cancel.c filter.c free.c sort.c passwd.c whoami.c getdn.c getentry.c getattr.c getvalues.c addentry.c request.c os-ip.c url.c pagectrl.c sortctrl.c vlvctrl.c init.c options.c print.c string.c util-int.c schema.c charray.c os-local.c dnssrv.c utf-8.c utf-8-conv.c tls2.c tls_o.c tls_g.c tls_m.c turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c assertion.c deref.c ldif.c fetch.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/libraries/libldap'
Entering subdirectory libldap_r make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/libraries/libldap_r' touch .links ../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap threads.c rdwr.c rmutex.c tpool.c rq.c thr_posix.c thr_cthreads.c thr_thr.c thr_nt.c thr_pth.c thr_stub.c thr_debug.c apitest.c test.c bind.c open.c result.c error.c compare.c search.c controls.c messages.c references.c extended.c cyrus.c modify.c add.c modrdn.c delete.c abandon.c sasl.c gssapi.c sbind.c unbind.c cancel.c filter.c free.c sort.c passwd.c whoami.c getdn.c getentry.c getattr.c getvalues.c addentry.c request.c os-ip.c url.c pagectrl.c sortctrl.c vlvctrl.c init.c options.c print.c string.c util-int.c schema.c charray.c os-local.c dnssrv.c utf-8.c utf-8-conv.c tls2.c tls_o.c tls_g.c tls_m.c turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c assertion.c deref.c ldif.c fetch.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/libraries/libldap_r'
Entering subdirectory librewrite make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/libraries/librewrite' ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include config.c context.c info.c ldapmap.c map.c params.c rule.c session.c subst.c var.c xmap.c parse.c rewrite.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/libraries/librewrite'
make[1]: Leaving directory `/home/ubuntu/openldap-2.4.40/libraries'
Entering subdirectory clients make[1]: Entering directory `/home/ubuntu/openldap-2.4.40/clients' Making depend in /home/ubuntu/openldap-2.4.40/clients Entering subdirectory tools make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/clients/tools' ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include ldapsearch.c ldapmodify.c ldapdelete.c ldapmodrdn.c ldappasswd.c ldapwhoami.c ldapcompare.c ldapexop.c ldapurl.c common.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/clients/tools'
make[1]: Leaving directory `/home/ubuntu/openldap-2.4.40/clients'
Entering subdirectory servers make[1]: Entering directory `/home/ubuntu/openldap-2.4.40/servers' Making depend in /home/ubuntu/openldap-2.4.40/servers Entering subdirectory slapd make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd'
cd back-bdb; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-bdb' ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. init.c tools.c config.c add.c bind.c compare.c delete.c modify.c modrdn.c search.c extended.c referral.c operational.c attr.c index.c key.c dbcache.c filterindex.c dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c trans.c monitor.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-bdb'
cd back-dnssrv; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-dnssrv' run configure with --enable-dnssrv to make back_dnssrv make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-dnssrv'
cd back-hdb; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-hdb' touch .links ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. -I. -I./../back-bdb init.c tools.c config.c add.c bind.c compare.c delete.c modify.c modrdn.c search.c extended.c referral.c operational.c attr.c index.c key.c dbcache.c filterindex.c trans.c dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c monitor.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-hdb'
cd back-ldap; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-ldap' run configure with --enable-ldap to make back_ldap make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-ldap'
cd back-ldif; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-ldif' ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. ldif.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-ldif'
cd back-mdb; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-mdb' ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb init.c tools.c config.c add.c bind.c compare.c delete.c modify.c modrdn.c search.c extended.c operational.c attr.c index.c key.c filterindex.c dn2entry.c dn2id.c id2entry.c idl.c nextid.c monitor.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-mdb'
cd back-meta; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-meta' run configure with --enable-meta to make back_meta make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-meta'
cd back-monitor; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-monitor' ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. -I./../slapi init.c search.c compare.c modify.c bind.c operational.c cache.c entry.c backend.c database.c thread.c conn.c rww.c log.c operation.c sent.c listener.c time.c overlay.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-monitor'
cd back-ndb; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-ndb' run configure with --enable-ndb to make back_ndb make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-ndb'
cd back-null; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-null' run configure with --enable-null to make back_null make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-null'
cd back-passwd; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-passwd' run configure with --enable-passwd to make back_passwd make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-passwd'
cd back-perl; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-perl' run configure with --enable-perl to make back_perl make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-perl'
cd back-relay; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-relay' ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. init.c op.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-relay'
cd back-shell; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-shell' run configure with --enable-shell to make back_shell make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-shell'
cd back-sock; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-sock' run configure with --enable-sock to make back_sock make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-sock'
cd back-sql; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-sql' run configure with --enable-sql to make back_sql make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/back-sql'
cd shell-backends; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/shell-backends' run configure with --enable-shell to make passwd-shell make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/shell-backends'
cd slapi; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/slapi' ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I.. -I. -I../../../include -I./.. -I. plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_dn.c slapi_ext.c slapi_overlay.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/slapi'
cd overlays; make -w depend make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/servers/slapd/overlays' ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. overlays.c accesslog.c auditlog.c constraint.c dds.c deref.c dyngroup.c dynlist.c memberof.c pcache.c collect.c ppolicy.c refint.c retcode.c rwm.c rwmconf.c rwmdn.c rwmmap.c seqmod.c sssvlv.c syncprov.c translucent.c unique.c valsort.c make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd/overlays'
../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I. -I./slapi -I. -I../../include main.c globals.c bconfig.c config.c daemon.c connection.c search.c filter.c add.c cr.c attr.c entry.c backend.c result.c operation.c dn.c compare.c modify.c delete.c modrdn.c ch_malloc.c value.c ava.c bind.c unbind.c abandon.c filterentry.c phonetic.c acl.c str2filter.c aclparse.c init.c user.c lock.c controls.c extended.c passwd.c schema.c schema_check.c schema_init.c schema_prep.c schemaparse.c ad.c at.c mr.c syntax.c oc.c saslauthz.c oidm.c starttls.c index.c sets.c referral.c root_dse.c sasl.c module.c mra.c mods.c sl_malloc.c zn_malloc.c limits.c operational.c matchedValues.c cancel.c syncrepl.c backglue.c backover.c ctxcsn.c ldapsync.c frontend.c slapadd.c slapcat.c slapcommon.c slapdn.c slapindex.c slappasswd.c slaptest.c slapauth.c slapacl.c component.c aci.c alock.c txn.c slapschema.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers/slapd'
make[1]: Leaving directory `/home/ubuntu/openldap-2.4.40/servers'
Entering subdirectory tests make[1]: Entering directory `/home/ubuntu/openldap-2.4.40/tests' Making depend in /home/ubuntu/openldap-2.4.40/tests Entering subdirectory progs make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/tests/progs' ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include slapd-common.c slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c slapd-modrdn.c slapd-modify.c slapd-bind.c slapd-mtread.c ldif-filter.c make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/tests/progs'
make[1]: Leaving directory `/home/ubuntu/openldap-2.4.40/tests'
Entering subdirectory doc make[1]: Entering directory `/home/ubuntu/openldap-2.4.40/doc' Making depend in /home/ubuntu/openldap-2.4.40/doc Entering subdirectory man make[2]: Entering directory `/home/ubuntu/openldap-2.4.40/doc/man' Making depend in /home/ubuntu/openldap-2.4.40/doc/man Entering subdirectory man1 make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/doc/man/man1' make[3]: Nothing to be done for `depend'. make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/doc/man/man1'
Entering subdirectory man3 make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/doc/man/man3' make[3]: Nothing to be done for `depend'. make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/doc/man/man3'
Entering subdirectory man5 make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/doc/man/man5' make[3]: Nothing to be done for `depend'. make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/doc/man/man5'
Entering subdirectory man8 make[3]: Entering directory `/home/ubuntu/openldap-2.4.40/doc/man/man8' make[3]: Nothing to be done for `depend'. make[3]: Leaving directory `/home/ubuntu/openldap-2.4.40/doc/man/man8'
make[2]: Leaving directory `/home/ubuntu/openldap-2.4.40/doc/man'
make[1]: Leaving directory `/home/ubuntu/openldap-2.4.40/doc'
Am Sat, 15 Nov 2014 08:57:17 -0500 schrieb Guruprasad Kulkarni gkulkarni@gridcosystems.com:
Hi,
The default installation for cyrus-sasl is /usr/local/lib/sasl2
I created a symlink from /usr/local/lib/sasl2 to /usr/lib/sasl2
I set LDFLAGS="-L/usr/lib/sasl2"
I then configured openldap: ./configure --enable-hdb --enable-ppolicy --enable-syncprov --with-cyrus-sasl
During make depend, I get the error: plugin.c:33:18: fatal error: ltdl.h: No such file or directory
I searched my filesystem and could not find this header file.
Have I set the right flag? I am new to openldap and linux, so please forgive my limited knowledge
You are lacking basic header files, which usually are provided by a devel package. As this depends on your distribution, you may post this on a ubuntu mailinglist. I Am on openSUSE and this distro provides a meta package openSUSE-devel-basis. You might find something similar on ubuntu.
-Dieter
openldap-technical@openldap.org