Anzeige:
Ergebnis 1 bis 13 von 13

Thema: openldap 2.2.23 error: BDB/HDB: BerkeleyDB not available

  1. #1
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Ort
    Stuttgart
    Beiträge
    157

    openldap 2.2.23 error: BDB/HDB: BerkeleyDB not available

    Bei dem Versuch OpenLDAP 2.2.23 zu installieren bekomme ich beim configurieren (./configure) folgende Fehlermeldung:

    .
    .
    .
    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 db.h... no
    configure: error: BDB/HDB: BerkeleyDB not available

    Leider konnte ich bei Google nix brauchbares finden. Wisst Ihr was ich falsch mache? Habe Suse 9.0.

    Die BerkeleyDB habe ich auch installiert, jedoch bekomme ich noch den selben Fehler

    Gruss MIchael
    Geändert von dE_MaStEr (03.02.05 um 09:28 Uhr)

  2. #2
    Registrierter Benutzer Avatar von drcux
    Registriert seit
    Oct 2003
    Beiträge
    6.989
    BerkeleyDB Devel installiert?

  3. #3
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Ort
    Stuttgart
    Beiträge
    157
    Zitat Zitat von drcux
    BerkeleyDB Devel installiert?
    Hab eben die aktuelste version 4.3 glaub ich installiert.

    Habe soeben auch die 4.2 DB installt. Jedoch selber fehler
    Geändert von dE_MaStEr (03.02.05 um 15:53 Uhr)

  4. #4
    Registrierter Benutzer Avatar von drcux
    Registriert seit
    Oct 2003
    Beiträge
    6.989
    Das Paket auf der SuSE DVD heißt db-devel

  5. #5
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Ort
    Stuttgart
    Beiträge
    157
    Habe das Paket installiert jedoch immer noch der selbe Fehler:

    michael@linux:~/LDAP/openldap-2.2.23> ./configure
    Copyright 1998-2005 The OpenLDAP Foundation. All rights reserved.
    Restrictions apply, see COPYRIGHT and LICENSE files.
    Configuring OpenLDAP 2.2.23-Release ...
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for mawk... no
    checking for gawk... gawk
    checking whether make sets ${MAKE}... yes
    checking for working aclocal... found
    checking for working autoconf... found
    checking for working automake... found
    checking for working autoheader... found
    checking for working makeinfo... missing
    checking for gnutar... no
    checking for gtar... no
    checking for tar... tar
    checking configure arguments... done
    checking for a BSD compatible install... /usr/bin/install -c
    checking for cc... cc
    checking for ar... ar
    checking for Cygwin environment... no
    checking for mingw32 environment... no
    checking for EMX OS/2 environment... no
    checking how to run the C preprocessor... cc -E
    checking for gcc... (cached) cc
    checking whether the C compiler (cc ) works... yes
    checking whether the C compiler (cc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether cc accepts -g... yes
    checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
    checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
    checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking for a sed that does not truncate output... /usr/bin/sed
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking for object suffix... o
    checking for executable suffix... no
    checking command to parse /usr/bin/nm -B output... ok
    checking for dlfcn.h... yes
    checking for ranlib... ranlib
    checking for strip... strip
    checking for objdir... .libs
    checking for cc option to produce PIC... -fPIC
    checking if cc PIC flag -fPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... yes
    checking if cc supports -c -o file.lo... yes
    checking if cc supports -fno-rtti -fno-exceptions... yes
    checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for dllload... no
    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... no
    checking whether -lc should be explicitly linked in... no
    creating libtool
    checking whether ln works... yes
    checking whether ln -s works... (cached) yes
    checking how to run the C preprocessor... cc -E
    checking for Cygwin environment... (cached) no
    checking for mingw32 environment... (cached) no
    checking for executable suffix... (cached) no
    checking for object suffix... (cached) o
    checking for be_app in -lbe... no
    checking for cc option to accept ANSI C... none needed
    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 opendir in -ldir... no
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking POSIX termios... yes
    checking whether use of TIOCGWINSZ requires sys/ioctl.h... yes
    checking for arpa/inet.h... yes
    checking for arpa/nameser.h... yes
    checking for assert.h... yes
    checking for bits/types.h... yes
    checking for conio.h... no
    checking for crypt.h... yes
    checking for direct.h... no
    checking for errno.h... yes
    checking for fcntl.h... yes
    checking for filio.h... no
    checking for getopt.h... yes
    checking for grp.h... yes
    checking for io.h... no
    checking for libutil.h... no
    checking for limits.h... yes
    checking for locale.h... yes
    checking for netinet/tcp.h... yes
    checking for malloc.h... yes
    checking for memory.h... yes
    checking for psap.h... no
    checking for pwd.h... yes
    checking for process.h... no
    checking for resolv.h... yes
    checking for sgtty.h... yes
    checking for shadow.h... yes
    checking for stddef.h... yes
    checking for string.h... yes
    checking for strings.h... yes
    checking for sysexits.h... yes
    checking for sys/file.h... yes
    checking for sys/filio.h... no
    checking for sys/errno.h... yes
    checking for sys/ioctl.h... yes
    checking for sys/param.h... yes
    checking for sys/resource.h... yes
    checking for sys/select.h... yes
    checking for sys/socket.h... yes
    checking for sys/stat.h... yes
    checking for sys/syslog.h... yes
    checking for sys/time.h... yes
    checking for sys/types.h... yes
    checking for sys/ucred.h... no
    checking for sys/uio.h... yes
    checking for syslog.h... yes
    checking for termios.h... yes
    checking for unistd.h... yes
    checking for winsock.h... no
    checking for winsock2.h... no
    checking for sigset in -lV3... no
    checking for socket... yes
    checking for select... yes
    checking types of arguments for select()... int,fd_set *,struct timeval *
    checking for regex.h... yes
    checking for library containing regfree... none required
    checking for compatible POSIX regex... yes
    checking for sys/uuid.h... no
    checking to see if -lrpcrt4 is needed for win32 UUID support... no
    checking for res_query... no
    checking for __res_query... no
    checking for res_query in -lbind... no
    checking for __res_query in -lbind... no
    checking for res_query in -lresolv... 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 for sys/un.h... yes
    checking for openssl/ssl.h... no
    checking for ssl.h... no
    configure: warning: Could not locate TLS/SSL package
    configure: warning: TLS data protection not supported!
    checking for _beginthread... no
    checking for pthread.h... yes
    checking POSIX thread version... 10
    checking for LinuxThreads pthread.h... yes
    checking for GNU Pth pthread.h... no
    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... 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... yes
    checking for LinuxThreads implementation... yes
    checking for LinuxThreads consistency... yes
    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 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 db.h... yes
    checking for Berkeley DB link (default)... no
    checking for Berkeley DB link (-ldb43)... no
    checking for Berkeley DB link (-ldb-43)... no
    checking for Berkeley DB link (-ldb-4.3)... no
    checking for Berkeley DB link (-ldb-4-3)... no
    checking for Berkeley DB link (-ldb42)... no
    checking for Berkeley DB link (-ldb-42)... no
    checking for Berkeley DB link (-ldb-4.2)... no
    checking for Berkeley DB link (-ldb-4-2)... no
    checking for Berkeley DB link (-ldb-4)... yes
    checking for Berkeley DB version match... yes
    checking for Berkeley DB thread support... yes
    checking Berkeley DB version for BDB backend... no
    configure: error: BDB/HDB: BerkeleyDB version incompatible
    michael@linux:~/LDAP/openldap-2.2.23>

  6. #6
    Registrierter Benutzer Avatar von drcux
    Registriert seit
    Oct 2003
    Beiträge
    6.989
    Zitat Zitat von dE_MaStEr
    Habe das Paket installiert jedoch immer noch der selbe Fehler:

    checking for db.h... yes
    nein, nicht der gleiche...

    db-4.2.52-90.i586.rpm installieren

  7. #7
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Ort
    Stuttgart
    Beiträge
    157
    Ich hab nun diesen Installiert: db-4.2.52.NC.tar

    Dies habe ich noch gesetzt:

    LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.2/lib
    LD_RUN_PATH=/usr/local/BerkeleyDB.4.2/lib

    Dessweiteren habe ich diesen Pfad auch noch in die Datei /etc/ld.so.conf geschrieben.

    Ich Installier jetzt auch nochmal deine erwähnte DB.

    PS: Beim installen der .rpm Datei zeigt mir Yast conflikte in 500 paketen an Kann das sein das das Suse 9.0 nicht ganz oke ist?
    Geändert von dE_MaStEr (08.02.05 um 15:14 Uhr)

  8. #8
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Ort
    Stuttgart
    Beiträge
    157
    Wenn ich das RPM installiere sagt er das er gar keine Datenbank mehr findet. Arrgxxx

  9. #9
    Registrierter Benutzer Avatar von drcux
    Registriert seit
    Oct 2003
    Beiträge
    6.989
    du zerschießt dir gerade nach und nach dein system....

    Benutze nur rpms, die auch für deine Distrie/Version gebaut wurden!

  10. #10
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Ort
    Stuttgart
    Beiträge
    157
    Zitat Zitat von drcux
    du zerschießt dir gerade nach und nach dein system....

    Benutze nur rpms, die auch für deine Distrie/Version gebaut wurden!
    Jop ich install das morgen neu. Bzw mach kein Suse mehr drauf sondern Debian. Mein CHeff wollte unbedingt Suse jedoch hatten wir keine aktuelle version da.

    Ich poste morgen nochmal obs nun klappt oder ned.

  11. #11
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Ort
    Stuttgart
    Beiträge
    157
    Nun habe ich SUSE 9.2 Installiert.

    Dann habe ich die datei db-4.2.52-90.i586.rpm heruntergeladen und installiert.

    Dann führte ich den Configurationsvorgang von OpenLDAP aus und ich komme nun auf diesen Fehler:
    hecking for db.h... no
    configure: error: BDB/HDB: BerkeleyDB not available

    Irgendwie merkwürdig obwohl ich die DB installiert habe

    Hat mir jemand Rat?

  12. #12
    Registrierter Benutzer Avatar von drcux
    Registriert seit
    Oct 2003
    Beiträge
    6.989
    db-devel installieren

  13. #13
    Registrierter Benutzer
    Registriert seit
    Feb 2004
    Beiträge
    15
    Hi!

    Ich hatte das gleiche Problem. Ich habe dann im Internet gelesen man sollte die Include-Dateien aus den Ordner prefix/BerkeleyDB..../include nach /usr/local/include kopieren. Die Libs kopierst du nach /usr/local/lib. Dann sollte der Fehler nicht mehr auftauchen.

    Ich habe jetzt den Fehler, dass der feststellt das die Headerdateien und die libs nicht die von der gleichen Version sind. Ich bekomme nun den Fehler:
    Code:
     
    header: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
    library: Sleepycat Software: Berkeley DB 4.3.27: (September 9, 2005)
    Ich suche mal nach neuen Headerdateien.


    Viel Erfolg

Ähnliche Themen

  1. transpatentes Eterm auf Fluxbox
    Von x86-64 im Forum Windowmanager
    Antworten: 5
    Letzter Beitrag: 08.06.04, 06:41
  2. gdesklets; Could not load sensor
    Von DarkSorcerer im Forum Linux Allgemein
    Antworten: 0
    Letzter Beitrag: 23.09.03, 18:58
  3. Pppoe
    Von derlinuxnub im Forum Anbindung an die Aussenwelt
    Antworten: 6
    Letzter Beitrag: 02.03.03, 21:19
  4. modprobe und iptables
    Von hoagie im Forum Router und Netzaufbau
    Antworten: 16
    Letzter Beitrag: 06.10.02, 14:29
  5. Kein Modem nach dem kompilieren
    Von im Forum Kompilieren von Kernel und Sourcen
    Antworten: 2
    Letzter Beitrag: 24.11.00, 13:16

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •