Installation annuaire LDAP : "BerkeleyDB version incompatible"

Installation annuaire LDAP : "BerkeleyDB version incompatible" - Installation - Linux et OS Alternatifs

Marsh Posté le 20-12-2006 à 13:53:59    

Salut à tous,
 
Voilà j'essaie d'installer un annuaire LDAP sous Linux. J'ai donc téléchargé openldap à l'adresse suivante : www.openldap.org
 
Pour que cela fonctionne, il a également fallu que j'installe Berkeley DB, chose que j'ai faite.
 
Pour l'installation de Berkeley DB, en apparence aucun problème :  
 
./configure
make
make install
 
Pas de message d'erreur.
 
Maintenant je fais de même avec openldap, je lance ./configure, et voici ce que j'obtiens :
 

Code :
  1. Configuring OpenLDAP 2.3.31-Release ...
  2. checking build system type... i686-pc-linux-gnu
  3. checking host system type... i686-pc-linux-gnu
  4. checking target system type... i686-pc-linux-gnu
  5. checking for a BSD-compatible install... /usr/bin/install -c
  6. checking whether build environment is sane... yes
  7. checking for gawk... gawk
  8. checking whether make sets $(MAKE)... yes
  9. checking configure arguments... done
  10. checking for cc... cc
  11. checking for ar... ar
  12. checking for style of include used by make... GNU
  13. checking for C compiler default output file name... a.out
  14. checking whether the C compiler works... yes
  15. checking whether we are cross compiling... no
  16. checking for suffix of executables...
  17. checking for suffix of object files... o
  18. checking whether we are using the GNU C compiler... yes
  19. checking whether cc accepts -g... yes
  20. checking for cc option to accept ANSI C... none needed
  21. checking dependency style of cc... none
  22. checking for a sed that does not truncate output... /bin/sed
  23. checking for egrep... grep -E
  24. checking for ld used by cc... /usr/bin/ld
  25. checking if the linker (/usr/bin/ld) is GNU ld... yes
  26. checking for /usr/bin/ld option to reload object files... -r
  27. checking for BSD-compatible nm... /usr/bin/nm -B
  28. checking whether ln -s works... yes
  29. checking how to recognise dependent libraries... pass_all
  30. checking how to run the C preprocessor... cc -E
  31. checking for ANSI C header files... yes
  32. checking for sys/types.h... yes
  33. checking for sys/stat.h... yes
  34. checking for stdlib.h... yes
  35. checking for string.h... yes
  36. checking for memory.h... yes
  37. checking for strings.h... yes
  38. checking for inttypes.h... yes
  39. checking for stdint.h... yes
  40. checking for unistd.h... yes
  41. checking dlfcn.h usability... yes
  42. checking dlfcn.h presence... yes
  43. checking for dlfcn.h... yes
  44. checking the maximum length of command line arguments... 32768
  45. checking command to parse /usr/bin/nm -B output from cc object... ok
  46. checking for objdir... .libs
  47. checking for ranlib... ranlib
  48. checking for strip... strip
  49. checking if cc static flag  works... yes
  50. checking if cc supports -fno-rtti -fno-exceptions... yes
  51. checking for cc option to produce PIC... -fPIC
  52. checking if cc PIC flag -fPIC works... yes
  53. checking if cc supports -c -o file.o... yes
  54. checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
  55. checking whether -lc should be explicitly linked in... no
  56. checking dynamic linker characteristics... GNU/Linux ld.so
  57. checking how to hardcode library paths into programs... immediate
  58. checking whether stripping libraries is possible... yes
  59. checking for shl_load... no
  60. checking for shl_load in -ldld... no
  61. checking for dlopen... no
  62. checking for dlopen in -ldl... yes
  63. checking whether a program can dlopen itself... yes
  64. checking whether a statically linked program can dlopen itself... yes
  65. checking if libtool supports shared libraries... yes
  66. checking whether to build shared libraries... yes
  67. checking whether to build static libraries... yes
  68. configure: creating libtool
  69. checking how to run the C preprocessor... cc -E
  70. checking for be_app in -lbe... no
  71. checking whether we are using the GNU C compiler... (cached) yes
  72. checking whether cc accepts -g... (cached) yes
  73. checking for cc option to accept ANSI C... (cached) none needed
  74. checking dependency style of cc... (cached) none
  75. checking for cc depend flag... -M
  76. checking for afopen in -ls... no
  77. checking for EBCDIC... no
  78. checking for ANSI C header files... yes
  79. checking for dirent.h that defines DIR... yes
  80. checking for library containing opendir... none required
  81. checking for sys/wait.h that is POSIX.1 compatible... yes
  82. checking whether termios.h defines TIOCGWINSZ... no
  83. checking whether sys/ioctl.h defines TIOCGWINSZ... yes
  84. checking arpa/inet.h usability... yes
  85. checking arpa/inet.h presence... yes
  86. checking for arpa/inet.h... yes
  87. checking arpa/nameser.h usability... yes
  88. checking arpa/nameser.h presence... yes
  89. checking for arpa/nameser.h... yes
  90. checking assert.h usability... yes
  91. checking assert.h presence... yes
  92. checking for assert.h... yes
  93. checking bits/types.h usability... yes
  94. checking bits/types.h presence... yes
  95. checking for bits/types.h... yes
  96. checking conio.h usability... no
  97. checking conio.h presence... no
  98. checking for conio.h... no
  99. checking crypt.h usability... yes
  100. checking crypt.h presence... yes
  101. checking for crypt.h... yes
  102. checking direct.h usability... no
  103. checking direct.h presence... no
  104. checking for direct.h... no
  105. checking errno.h usability... yes
  106. checking errno.h presence... yes
  107. checking for errno.h... yes
  108. checking fcntl.h usability... yes
  109. checking fcntl.h presence... yes
  110. checking for fcntl.h... yes
  111. checking filio.h usability... no
  112. checking filio.h presence... no
  113. checking for filio.h... no
  114. checking getopt.h usability... yes
  115. checking getopt.h presence... yes
  116. checking for getopt.h... yes
  117. checking grp.h usability... yes
  118. checking grp.h presence... yes
  119. checking for grp.h... yes
  120. checking io.h usability... no
  121. checking io.h presence... no
  122. checking for io.h... no
  123. checking libutil.h usability... no
  124. checking libutil.h presence... no
  125. checking for libutil.h... no
  126. checking limits.h usability... yes
  127. checking limits.h presence... yes
  128. checking for limits.h... yes
  129. checking locale.h usability... yes
  130. checking locale.h presence... yes
  131. checking for locale.h... yes
  132. checking malloc.h usability... yes
  133. checking malloc.h presence... yes
  134. checking for malloc.h... yes
  135. checking for memory.h... (cached) yes
  136. checking psap.h usability... no
  137. checking psap.h presence... no
  138. checking for psap.h... no
  139. checking pwd.h usability... yes
  140. checking pwd.h presence... yes
  141. checking for pwd.h... yes
  142. checking process.h usability... no
  143. checking process.h presence... no
  144. checking for process.h... no
  145. checking sgtty.h usability... yes
  146. checking sgtty.h presence... yes
  147. checking for sgtty.h... yes
  148. checking shadow.h usability... yes
  149. checking shadow.h presence... yes
  150. checking for shadow.h... yes
  151. checking stddef.h usability... yes
  152. checking stddef.h presence... yes
  153. checking for stddef.h... yes
  154. checking for string.h... (cached) yes
  155. checking for strings.h... (cached) yes
  156. checking sysexits.h usability... yes
  157. checking sysexits.h presence... yes
  158. checking for sysexits.h... yes
  159. checking sys/file.h usability... yes
  160. checking sys/file.h presence... yes
  161. checking for sys/file.h... yes
  162. checking sys/filio.h usability... no
  163. checking sys/filio.h presence... no
  164. checking for sys/filio.h... no
  165. checking sys/errno.h usability... yes
  166. checking sys/errno.h presence... yes
  167. checking for sys/errno.h... yes
  168. checking sys/ioctl.h usability... yes
  169. checking sys/ioctl.h presence... yes
  170. checking for sys/ioctl.h... yes
  171. checking sys/param.h usability... yes
  172. checking sys/param.h presence... yes
  173. checking for sys/param.h... yes
  174. checking sys/resource.h usability... yes
  175. checking sys/resource.h presence... yes
  176. checking for sys/resource.h... yes
  177. checking sys/select.h usability... yes
  178. checking sys/select.h presence... yes
  179. checking for sys/select.h... yes
  180. checking sys/socket.h usability... yes
  181. checking sys/socket.h presence... yes
  182. checking for sys/socket.h... yes
  183. checking for sys/stat.h... (cached) yes
  184. checking sys/syslog.h usability... yes
  185. checking sys/syslog.h presence... yes
  186. checking for sys/syslog.h... yes
  187. checking sys/time.h usability... yes
  188. checking sys/time.h presence... yes
  189. checking for sys/time.h... yes
  190. checking for sys/types.h... (cached) yes
  191. checking sys/uio.h usability... yes
  192. checking sys/uio.h presence... yes
  193. checking for sys/uio.h... yes
  194. checking syslog.h usability... yes
  195. checking syslog.h presence... yes
  196. checking for syslog.h... yes
  197. checking termios.h usability... yes
  198. checking termios.h presence... yes
  199. checking for termios.h... yes
  200. checking for unistd.h... (cached) yes
  201. checking utime.h usability... yes
  202. checking utime.h presence... yes
  203. checking for utime.h... yes
  204. checking for resolv.h... yes
  205. checking for netinet/tcp.h... yes
  206. checking for sys/ucred.h... no
  207. checking for sigaction... yes
  208. checking for sigset... yes
  209. checking for socket... yes
  210. checking for select... yes
  211. checking for sys/select.h... (cached) yes
  212. checking for sys/socket.h... (cached) yes
  213. checking types of arguments for select... int,fd_set *,struct timeval *
  214. checking for poll... yes
  215. checking poll.h usability... yes
  216. checking poll.h presence... yes
  217. checking for poll.h... yes
  218. checking sys/epoll.h usability... yes
  219. checking sys/epoll.h presence... yes
  220. checking for sys/epoll.h... yes
  221. checking for epoll system call... no
  222. checking declaration of sys_errlist... yes
  223. checking for strerror... yes
  224. checking for strerror_r... yes
  225. checking non-posix strerror_r... yes
  226. checking regex.h usability... yes
  227. checking regex.h presence... yes
  228. checking for regex.h... yes
  229. checking for library containing regfree... none required
  230. checking for compatible POSIX regex... yes
  231. checking sys/uuid.h usability... no
  232. checking sys/uuid.h presence... no
  233. checking for sys/uuid.h... no
  234. checking to see if -lrpcrt4 is needed for win32 UUID support... no
  235. checking for resolver link (default)... no
  236. checking for resolver link (-lresolv)... yes
  237. checking for hstrerror... yes
  238. checking for getaddrinfo... yes
  239. checking for getnameinfo... yes
  240. checking for gai_strerror... yes
  241. checking for inet_ntop... yes
  242. checking INET6_ADDRSTRLEN... yes
  243. checking struct sockaddr_storage... yes
  244. checking sys/un.h usability... yes
  245. checking sys/un.h presence... yes
  246. checking for sys/un.h... yes
  247. checking openssl/ssl.h usability... no
  248. checking openssl/ssl.h presence... no
  249. checking for openssl/ssl.h... no
  250. configure: WARNING: Could not locate TLS/SSL package
  251. configure: WARNING: TLS data protection not supported!
  252. checking for _beginthread... no
  253. checking pthread.h usability... yes
  254. checking pthread.h presence... yes
  255. checking for pthread.h... yes
  256. checking POSIX thread version... 10
  257. checking for LinuxThreads pthread.h... yes
  258. checking for GNU Pth pthread.h... no
  259. checking sched.h usability... yes
  260. checking sched.h presence... yes
  261. checking for sched.h... yes
  262. checking for pthread_create in default libraries... no
  263. checking for pthread link with -kthread... no
  264. checking for pthread link with -pthread... yes
  265. checking for sched_yield... yes
  266. checking for pthread_yield... yes
  267. checking for thr_yield... no
  268. checking for pthread_kill... yes
  269. checking for pthread_rwlock_destroy... yes
  270. checking for pthread_detach with <pthread.h>... yes
  271. checking for pthread_setconcurrency... yes
  272. checking for pthread_getconcurrency... yes
  273. checking for thr_setconcurrency... no
  274. checking for thr_getconcurrency... no
  275. checking for pthread_kill_other_threads_np... yes
  276. checking for LinuxThreads implementation... yes
  277. checking for LinuxThreads consistency... yes
  278. checking if pthread_create() works... yes
  279. checking if select yields when using pthreads... yes
  280. checking for thread specific errno... yes
  281. checking for thread specific h_errno... yes
  282. checking for ctime_r... yes
  283. checking for gethostbyname_r... yes
  284. checking for gethostbyaddr_r... yes
  285. checking number of arguments of ctime_r... 2
  286. checking number of arguments of gethostbyname_r... 6
  287. checking number of arguments of gethostbyaddr_r... 8
  288. checking db.h usability... yes
  289. checking db.h presence... yes
  290. checking for db.h... yes
  291. checking for Berkeley DB major version... 4
  292. checking for Berkeley DB minor version... 5
  293. checking for Berkeley DB link (-ldb-4)... no
  294. checking for Berkeley DB link (-ldb4)... no
  295. checking for Berkeley DB link (-ldb)... yes
  296. checking for Berkeley DB version match... Berkeley DB version mismatch
  297.         header: Berkeley DB 4.5.20: (September 20, 2006)
  298.         library: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
  299. no
  300. configure: error: Berkeley DB version mismatch


 
Voilà donc j'ai un soucis de librairie que je je comprend pas, quelqu'un peut-il m'aider ? Merci d'avance
 
La version d'openldap que j'ai essayé d'installer est la dernière (2.3.31) et pareil pour berkeleyDB (4.5.20)
 
Merci  :jap:

Reply

Marsh Posté le 20-12-2006 à 13:53:59   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed