Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
706 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  Problème installation tinc VPN lzo

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème installation tinc VPN lzo

n°714655
mc40
Posté le 04-08-2005 à 15:44:57  profilanswer
 

voila alors comme tourjours j'ai un petit problème j'aimerai monter un server VPN avec TINC. Tinc utilise la lib lzo j'ai bien installé la lib en faisant ./configure puis make et make install tout ce passe bien pas d'erreur!! en suite au tour de tinc donc je fias mon ./configure et la a un moment j'ai l'erreur suivante:
 

Code :
  1. checking lzo1x.h usability ...no
  2. checking lzo1x.h presence ...no
  3. checking for lzo1x.h ... no
  4. configure: error: "lzo header file not found."


 
alors que pourtant ma lib lzo c'est bien installée!!
 
si quelqu'un voie le truc!!

mood
Publicité
Posté le 04-08-2005 à 15:44:57  profilanswer
 

n°714663
l0ky
Posté le 04-08-2005 à 16:15:32  profilanswer
 

La compilation de tinc demande les fichiers *.h de la lib lzo. Ce sont les fichiers que l'on trouve généralement dans /usr/include/.  
 
si tu es sous debian un simple
apt-get install liblzo-dev
 
résoudrait ton probleme
 
Pendant qu'on y est: il n'existe pas de package précompilé pour ta distrib ?


$ apt-cache show tinc  
Package: tinc
Priority: optional
Section: net
Installed-Size: 576
Maintainer: Guus Sliepen <guus@debian.org>
Architecture: i386
Version: 1.0.3-4
Depends: debconf, libc6 (>= 2.3.2.ds1-4), liblzo1, libssl0.9.7, zlib1g (>= 1:1.2.1)
Filename: pool/main/t/tinc/tinc_1.0.3-4_i386.deb
Size: 193372
MD5sum: 7d457a86be0356066b672f2ebf2d0737
Description: Virtual Private Network daemon
 tinc is a daemon with which you can create a virtual private network
 (VPN).  One daemon can handle multiple connections, so you can
 create an entire (moderately sized) VPN with only one daemon per
 participating computer.
 .
 You need to have two kernel modules installed, on a Debian system
 they should already be there.  If they are not, the manual will
 explain you how to do that.
 


Message édité par l0ky le 04-08-2005 à 16:21:09
n°714717
mc40
Posté le 04-08-2005 à 20:24:23  profilanswer
 

heu je ne pense pas mais moi je suis sous mandriva 10.2
ton apt-get install liblzo-dev va marcher?

n°714801
Taz
bisounours-codeur
Posté le 05-08-2005 à 07:54:36  profilanswer
 

...

n°714813
l0ky
Posté le 05-08-2005 à 09:29:51  profilanswer
 

mc40 a écrit :

heu je ne pense pas mais moi je suis sous mandriva 10.2


Ce qui me laisse penser que tu n'as même pas regarder avant [:pingouino]
 
configure tes sources pour urpmi et cherches dedans. Ca sera plus simple que tout recompiler
http://linux-wizard.net/howto.php? [...] n_packages
http://easyurpmi.zarb.org/?language=fr


Message édité par l0ky le 05-08-2005 à 09:31:04
n°714888
mc40
Posté le 05-08-2005 à 13:37:04  profilanswer
 

Oui c'est sure les rpm!!! Mais j'aimerai bien un jour réusir à compiler un truc moi meme et de l'installer!!!

n°714909
mc40
Posté le 05-08-2005 à 14:33:36  profilanswer
 

bon pour le premier prblème je l'ai en partie résolue avec l'option suivante:
./configure --with-lzo-include=/home/mitch/lzo-2.01/include/lzo/
 
mais la encore un problème!!! si quelqu'un peut m'expliquer en gros l'erreur!! car la je sèche!!
 

Code :
  1. configure:11051: checking for lzo1x.h
  2. configure:11058: result: yes
  3. configure:11077: checking for lzo1x_1_compress in -llzo
  4. configure:11107: gcc -o conftest -g -O2  -I/home/mitch/lzo-2.01/include/lzo/  -L/usr/local/ conftest.c -llzo   -lcrypto -lz >&5
  5. /usr/bin/ld: cannot find -llzo
  6. collect2: ld returned 1 exit status
  7. configure:11113: $? = 1
  8. configure: failed program was:
  9. | /* confdefs.h.  */
  10. |
  11. | #define PACKAGE_NAME ""
  12. | #define PACKAGE_TARNAME ""
  13. | #define PACKAGE_VERSION ""
  14. | #define PACKAGE_STRING ""
  15. | #define PACKAGE_BUGREPORT ""
  16. | #define PACKAGE "tinc"
  17. | #define VERSION "1.0.4"
  18. | #define ENABLE_NLS 1
  19. | #define HAVE_GETTEXT 1
  20. | #define HAVE_DCGETTEXT 1
  21. | #define _GNU_SOURCE 1
  22. | #define __USE_BSD 1
  23. | #define HAVE_LINUX 1
  24. | #define STDC_HEADERS 1
  25. | #define HAVE_SYS_TYPES_H 1
  26. | #define HAVE_SYS_STAT_H 1
  27. | #define HAVE_STDLIB_H 1
  28. | #define HAVE_STRING_H 1
  29. | #define HAVE_MEMORY_H 1
  30. | #define HAVE_STRINGS_H 1
  31. | #define HAVE_INTTYPES_H 1
  32. | #define HAVE_STDINT_H 1
  33. | #define HAVE_UNISTD_H 1
  34. | #define HAVE_STDBOOL_H 1
  35. | #define HAVE_SYSLOG_H 1
  36. | #define HAVE_SYS_FILE_H 1
  37. | #define HAVE_SYS_IOCTL_H 1
  38. | #define HAVE_SYS_MMAN_H 1
  39. | #define HAVE_SYS_PARAM_H 1
  40. | #define HAVE_SYS_SOCKET_H 1
  41. | #define HAVE_SYS_TIME_H 1
  42. | #define HAVE_SYS_UIO_H 1
  43. | #define HAVE_SYS_WAIT_H 1
  44. | #define HAVE_NETDB_H 1
  45. | #define HAVE_ARPA_INET_H 1
  46. | #define HAVE_NET_IF_H 1
  47. | #define HAVE_NET_ETHERNET_H 1
  48. | #define HAVE_NET_IF_ARP_H 1
  49. | #define HAVE_NETINET_IN_SYSTM_H 1
  50. | #define HAVE_NETINET_IN_H 1
  51. | #define HAVE_NETINET_IF_ETHER_H 1
  52. | #define HAVE_NETINET_IP_H 1
  53. | #define HAVE_NETINET_IP6_H 1
  54. | #define HAVE_NETINET_TCP_H 1
  55. | #define HAVE_NETINET_IP_ICMP_H 1
  56. | #define HAVE_NETINET_ICMP6_H 1
  57. | #define TIME_WITH_SYS_TIME 1
  58. | #define HAVE_SOCKLEN_T 1
  59. | #define HAVE_STRUCT_ETHER_HEADER 1
  60. | #define HAVE_STRUCT_ARPHDR 1
  61. | #define HAVE_STRUCT_ETHER_ARP 1
  62. | #define HAVE_STRUCT_IN_ADDR 1
  63. | #define HAVE_STRUCT_ADDRINFO 1
  64. | #define HAVE_STRUCT_IP 1
  65. | #define HAVE_STRUCT_ICMP 1
  66. | #define HAVE_STRUCT_IN6_ADDR 1
  67. | #define HAVE_STRUCT_SOCKADDR_IN6 1
  68. | #define HAVE_STRUCT_IP6_HDR 1
  69. | #define HAVE_STRUCT_ICMP6_HDR 1
  70. | #define HAVE_STRUCT_ND_NEIGHBOR_SOLICIT 1
  71. | #define HAVE_STRUCT_ND_OPT_HDR 1
  72. | #define HAVE_ALLOCA_H 1
  73. | #define HAVE_ALLOCA 1
  74. | #define RETSIGTYPE void
  75. | #define HAVE_ASPRINTF 1
  76. | #define HAVE_DAEMON 1
  77. | #define HAVE_FCHMOD 1
  78. | #define HAVE_FLOCK 1
  79. | #define HAVE_FTIME 1
  80. | #define HAVE_FORK 1
  81. | #define HAVE_GET_CURRENT_DIR_NAME 1
  82. | #define HAVE_GETTIMEOFDAY 1
  83. | #define HAVE_MLOCKALL 1
  84. | #define HAVE_PUTENV 1
  85. | #define HAVE_RANDOM 1
  86. | #define HAVE_SELECT 1
  87. | #define HAVE_STRDUP 1
  88. | #define HAVE_STRERROR 1
  89. | #define HAVE_STRSIGNAL 1
  90. | #define HAVE_STRTOL 1
  91. | #define HAVE_SYSTEM 1
  92. | #define HAVE_UNSETENV 1
  93. | #define HAVE_VSYSLOG 1
  94. | #define HAVE_WRITEV 1
  95. | #define HAVE_DONE_WORKING_MALLOC_CHECK 1
  96. | #define HAVE_DONE_WORKING_REALLOC_CHECK 1
  97. | #define HAVE_FREEADDRINFO 1
  98. | #define HAVE_GAI_STRERROR 1
  99. | #define HAVE_GETADDRINFO 1
  100. | #define HAVE_GETNAMEINFO 1
  101. | #define HAVE_INET_ATON 1
  102. | #define HAVE_TUNTAP 1
  103. | #define HAVE_OPENSSL_EVP_H 1
  104. | #define HAVE_OPENSSL_RSA_H 1
  105. | #define HAVE_OPENSSL_RAND_H 1
  106. | #define HAVE_OPENSSL_ERR_H 1
  107. | #define HAVE_OPENSSL_SHA_H 1
  108. | #define HAVE_OPENSSL_PEM_H 1
  109. | #define HAVE_RAND_PSEUDO_BYTES 1
  110. | #define HAVE_EVP_ENCRYPTINIT_EX 1
  111. | #define HAVE_ZLIB_H 1
  112. | #define HAVE_LZO1X_H 1
  113. | /* end confdefs.h.  */
  114. |
  115. | /* Override any gcc2 internal prototype to avoid an error.  */
  116. | #ifdef __cplusplus
  117. | extern "C"
  118. | #endif
  119. | /* We use char because int might match the return type of a gcc2
  120. |    builtin and then its argument prototype would still apply.  */
  121. | char lzo1x_1_compress ();
  122. | int
  123. | main ()
  124. | {
  125. | lzo1x_1_compress ();
  126. |   ;
  127. |   return 0;
  128. | }
  129. configure:11138: result: no
  130. configure:11143: error: "lzo libraries not found."

n°714913
l0ky
Posté le 05-08-2005 à 14:36:06  profilanswer
 

Ligne 130: "lzo librairies not found"
Il ne trouve pas la librairie [:petrus75]
 
Es tu sûr de l'avoir correctement installé ?


Message édité par l0ky le 05-08-2005 à 14:36:19
n°714915
mc40
Posté le 05-08-2005 à 14:39:12  profilanswer
 

héé bien oui! je pense! j'ai fais mon
./configure
make  
make check et
install  
 
tout c'est bien passé!!! comprend pas !!! haa j'en ai remis une couche avec urpmi


Message édité par mc40 le 05-08-2005 à 14:41:27
n°856642
dartagnan1​2
Posté le 27-10-2006 à 14:45:32  profilanswer
 

Bonjour,
  en fait le probleme vient du fait que le fichier bibliotheque s'appelle "liblzo2.so" et pas "liblzo.so".  Il suffit donc de creer un lien symbolique au nom du liblzo.so pointant vers liblzo2.so (et faire ldconfig apres).


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  Problème installation tinc VPN lzo

 

Sujets relatifs
(debian)souris usb pas detecté& probleme reseau a l'instalationProblème au linking d'umbrello
Help! installation KDE sous Windows avec QT3samba, partage d'imprimante : problème de connexion à partir de winxp
Problème paquets foireux bootsplash debianUn problème avec mon G5
probleme installation mandriva le2005probleme de reconnaissance de mots de passe msn sous kopete
probleme clavier FR 
Plus de sujets relatifs à : Problème installation tinc VPN lzo


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR