Ce forum est maintenant fermé, seule cette archive statique reste consultable.
  FORUM Matbe.com
  OS, Software, Réseaux
  OS alternatifs

  [Installation] FreeRadius sur Ubuntu 9.04 ou Debian 5.0

Bas de page
Auteur Sujet :

[Installation] FreeRadius sur Ubuntu 9.04 ou Debian 5.0

n°70175
twentycent
Posté le 07-05-2009 à 09:20:41  
 

Bonjour à tous, dans le cadre de ma formation je dois monter un serveur radius sur une machine virtuel avec virtualbox.
Le tout servirai au futur réseau Wifi que je devrais metre en place.
Les serveurs et autres postes utilisateurs de mon entreprise sont sur Windows (Serv. 2003 et XP).
Alors j'ai cherché dans pas mal de tutorial, mais à chaque fois je bloque à différent endroit, sur ma Ubuntu, j'ai fait ceci :

 

Code :
  1. apt-get install make gcc g++ wget openssl



Téléchargement de la dernière version stable de openssl

www.openssl.org
 

Code :
  1. tar zxvf openssl-0.9.8k.tar.gz
  2. cd openssl-0.9.8k
  3. ./config --prefix=/usr/local/openssl-certgen shared
  4. make && make install


 
Configuration de OpenSSL
 

Code :
  1. gedit /usr/local/openssl-certgen/ssl/openssl.cnf


 
Voici ce que j'ai modifié:
 

Code :
  1. countryName_default = FR
  2. localityName_default = Ma Ville
  3. 0.organizationName_default = NOM de mon entreprise
  4. emailAddress_default = adresse@entreprise.com


 
Génération des certificats
 

Code :
  1. mkdir /root/certs
  2. cd /root/certs


 
Lancement de la génération du certificat
 

Code :
  1. ./CA.root


 
A chaque question j'ai tappé "Entrée"
 

Code :
  1. ./CA.svr serveur


 
A chaque question j'ai tappé "Entrée" sauf pour
 

Code :
  1. Common Name (eg, YOUR name) []:serveur


 

Code :
  1. ./CA.clt client


 
A chaque question j'ai tappé "Entrée" sauf pour
 

Code :
  1. Common Name (eg, YOUR name) []:client


 
Installation de FreeRadius
 

Code :
  1. apt-get install libssl-dev snmp libltdl3-dev


 
Téléchargement de la dernière version stable de freeradius
http://freeradius.org/
 

Code :
  1. tar zxvf freeradius-2.1.4.tar.gz
  2. cd freeradius-2.1.4


 
Configuration de la compilation
 

Code :
  1. ./configure --sysconfdir=/etc/ --without-rlm_sql_iodbc --withoutrlm_
  2. eap_sim --without-rlm_eap_gtc --without-rlm_x99_token --withoutrlm_
  3. sql_unixodbc --without-rlm_sql_oracle --without-rlm_ldap --
  4. without-rlm_sql_postgresql --without-rlm_ippool --without-rlm_dbm --
  5. without-rlm_counter --without-rlm_attr_rewrite --without-rlm_pam --
  6. without-rlm_eap_ttls --without-rlm_radump --without-rlm_dbm --withoutrlm_
  7. eap_peap --without-rlm_krb5 --silent --disable-shared


 
Et la j'ai pas mal d'erreur :
 

Code :
  1. appending configuration tag "CXX" to libtool
  2. appending configuration tag "F77" to libtool
  3. configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer.
  4. config.status: WARNING:  ./Make.inc.in seems to ignore the --datarootdir setting
  5. config.status: WARNING:  ./src/include/build-radpaths-h.in seems to ignore the --datarootdir setting
  6. *** module rlm_attr_rewrite is disabled.
  7. *** module rlm_counter is disabled.
  8. *** module rlm_dbm is disabled.
  9. *** module rlm_eap_ttls is disabled.
  10. configure: creating ./config.status
  11. config.status: creating Makefile
  12. config.status: creating config.h
  13. config.status: config.h is unchanged
  14. checking for gcc... gcc
  15. checking for C compiler default output file name... a.out
  16. checking whether the C compiler works... yes
  17. checking whether we are cross compiling... no
  18. checking for suffix of executables...
  19. checking for suffix of object files... o
  20. checking whether we are using the GNU C compiler... yes
  21. checking whether gcc accepts -g... yes
  22. checking for gcc option to accept ISO C89... none needed
  23. checking for exchangeTNCCSMessages in -lTNCS... no
  24. configure: WARNING: the TNCS library isn't found!
  25. configure: WARNING: silently not building rlm_eap_tnc.
  26. configure: WARNING: FAILURE: rlm_eap_tnc requires:  -lTNCS.
  27. configure: creating ./config.status
  28. config.status: creating Makefile
  29. checking for gcc... gcc
  30. checking for C compiler default output file name... a.out
  31. checking whether the C compiler works... yes
  32. checking whether we are cross compiling... no
  33. checking for suffix of executables...
  34. checking for suffix of object files... o
  35. checking whether we are using the GNU C compiler... yes
  36. checking whether gcc accepts -g... yes
  37. checking for gcc option to accept ISO C89... none needed
  38. checking how to run the C preprocessor... gcc -E
  39. checking for grep that handles long lines and -e... /bin/grep
  40. checking for egrep... /bin/grep -E
  41. checking for ANSI C header files... yes
  42. checking for sys/types.h... yes
  43. checking for sys/stat.h... yes
  44. checking for stdlib.h... yes
  45. checking for string.h... yes
  46. checking for memory.h... yes
  47. checking for strings.h... yes
  48. checking for inttypes.h... yes
  49. checking for stdint.h... yes
  50. checking for unistd.h... yes
  51. checking malloc.h usability... yes
  52. checking malloc.h presence... yes
  53. checking for malloc.h... yes
  54. checking for ikev2_set_log_callback in -leap-ikev2... no
  55. checking EAPIKEv2/connector.h usability... no
  56. checking EAPIKEv2/connector.h presence... no
  57. checking for EAPIKEv2/connector.h... no
  58. configure: WARNING: silently not building rlm_eap_ikev2.
  59. configure: WARNING: FAILURE: rlm_eap_ikev2 requires:  libeap-ikev2 EAPIKEv2/connector.h.
  60. configure: creating ./config.status
  61. config.status: creating Makefile
  62. *** module rlm_eap_peap is disabled.
  63. configure: creating ./config.status
  64. config.status: creating Makefile
  65. config.status: creating config.h
  66. config.status: config.h is unchanged
  67. checking for OpenSSL support... yes
  68. checking for gcc... gcc
  69. checking for C compiler default output file name... a.out
  70. checking whether the C compiler works... yes
  71. checking whether we are cross compiling... no
  72. checking for suffix of executables...
  73. checking for suffix of object files... o
  74. checking whether we are using the GNU C compiler... yes
  75. checking whether gcc accepts -g... yes
  76. checking for gcc option to accept ISO C89... none needed
  77. checking for EVP_sha256 in -lc  -lcrypto -lssl -lcrypto... yes
  78. configure: creating ./config.status
  79. config.status: creating Makefile
  80. config.status: creating config.h
  81. config.status: config.h is unchanged
  82. *** module rlm_ippool is disabled.
  83. *** module rlm_krb5 is disabled.
  84. *** module rlm_ldap is disabled.
  85. *** module rlm_pam is disabled.
  86. *** module rlm_sql_iodbc is disabled.
  87. *** module rlm_sql_postgresql is disabled.
  88. *** module rlm_sql_oracle is disabled.
  89. *** module rlm_sql_unixodbc is disabled.


 
J'ai déja réussis à en enlever quelque une, en installant des paquets avec apt-get, mais il y en a plein que je ne trouve pas.
 
Ensuite si je fais un :

 

Code :
  1. make && make install


 
voici la fin où il y a aussi des erreurs :

Code :
  1. (cd .libs && gcc  -g -O2 -c -fno-builtin "radiusdS.c" )
  2. rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
  3. gcc .libs/radiusdS.o -static -o radiusd acct.o auth.o client.o conffile.o crypt.o exec.o files.o listen.o log.o mainconfig.o modules.o modcall.o radiusd.o stats.o session.o threads.o util.o valuepair.o version.o xlat.o event.o realms.o evaluate.o vmps.o detail.o -Wl,--export-dynamic  ../modules/rlm_acctlog/.libs/rlm_acctlog.a ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a ../modules/rlm_always/.libs/rlm_always.a ../modules/rlm_attr_filter/.libs/rlm_attr_filter.a ../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_checkval/.libs/rlm_checkval.a ../modules/rlm_copy_packet/.libs/rlm_copy_packet.a ../modules/rlm_detail/.libs/rlm_detail.a ../modules/rlm_digest/.libs/rlm_digest.a ../modules/rlm_eap/.libs/rlm_eap.a ../modules/rlm_exec/.libs/rlm_exec.a ../modules/rlm_expiration/.libs/rlm_expiration.a ../modules/rlm_expr/.libs/rlm_expr.a ../modules/rlm_fastusers/.libs/rlm_fastusers.a ../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_linelog/.libs/rlm_linelog.a ../modules/rlm_logintime/.libs/rlm_logintime.a ../modules/rlm_mschap/.libs/rlm_mschap.a ../modules/rlm_otp/.libs/rlm_otp.a ../modules/rlm_pap/.libs/rlm_pap.a ../modules/rlm_passwd/.libs/rlm_passwd.a ../modules/rlm_perl/.libs/rlm_perl.a -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -lc ../modules/rlm_preprocess/.libs/rlm_preprocess.a ../modules/rlm_python/.libs/rlm_python.a -L/usr/lib/python2.6/config -lutil -lpython2.6 ../modules/rlm_radutmp/.libs/rlm_radutmp.a ../modules/rlm_realm/.libs/rlm_realm.a ../modules/rlm_sql/.libs/rlm_sql.a ../modules/rlm_sqlcounter/.libs/rlm_sqlcounter.a ../modules/rlm_sqlippool/.libs/rlm_sqlippool.a ../modules/rlm_sql_log/.libs/rlm_sql_log.a ../modules/rlm_unix/.libs/rlm_unix.a ../modules/rlm_policy/.libs/rlm_policy.a ../modules/rlm_dynamic_clients/.libs/rlm_dynamic_clients.a ../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a ../modules/rlm_eap/types/rlm_eap_tls/.libs/rlm_eap_tls.a ../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a /home/user/Bureau/freeradius-server-2.1.4/src/modules/rlm_eap/libeap/.libs/libfreeradius-eap.a ../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a ../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a ../modules/rlm_sql/drivers/rlm_sql_mysql/.libs/rlm_sql_mysql.a -L/usr/lib/mysql /usr/lib/libmysqlclient_r.so -lm -lz ../modules/rlm_eap/libeap/.libs/libfreeradius-eap.a /home/user/Bureau/freeradius-server-2.1.4/src/lib/.libs/libfreeradius-radius.a -lnsl -lresolv -lpthread -lcrypt /usr/lib/libltdl.so -ldl -lssl -lcrypto
  4. mainconfig.o: In function `switch_users':
  5. /home/user/Bureau/freeradius-server-2.1.4/src/main/mainconfig.c:554: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  6. listen.o: In function `command_socket_parse':
  7. /home/user/Bureau/freeradius-server-2.1.4/src/main/command.c:1709: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  8. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_sgrent':
  9. /build/buildd/perl-5.10.0/pp_sys.c:5339: warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  10. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_egrent':
  11. /build/buildd/perl-5.10.0/pp_sys.c:5350: warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  12. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_ggrent':
  13. /build/buildd/perl-5.10.0/pp_sys.c:5286: warning: Using 'getgrent_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  14. /build/buildd/perl-5.10.0/pp_sys.c:5282: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  15. /build/buildd/perl-5.10.0/pp_sys.c:5278: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  16. listen.o: In function `command_socket_parse':
  17. /home/user/Bureau/freeradius-server-2.1.4/src/main/command.c:1696: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  18. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_spwent':
  19. /build/buildd/perl-5.10.0/pp_sys.c:5251: warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  20. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_epwent':
  21. /build/buildd/perl-5.10.0/pp_sys.c:5262: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  22. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_gpwent':
  23. /build/buildd/perl-5.10.0/pp_sys.c:5103: warning: Using 'getpwent_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  24. /build/buildd/perl-5.10.0/pp_sys.c:5092: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  25. /build/buildd/perl-5.10.0/pp_sys.c:5098: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  26. /build/buildd/perl-5.10.0/pp_sys.c:5154: warning: Using 'getspnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  27. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_ghostent':
  28. /build/buildd/perl-5.10.0/pp_sys.c:4656: warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  29. /build/buildd/perl-5.10.0/pp_sys.c:4644: warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  30. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_shostent':
  31. /build/buildd/perl-5.10.0/pp_sys.c:4927: warning: Using 'sethostent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  32. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_ehostent':
  33. /build/buildd/perl-5.10.0/pp_sys.c:4971: warning: Using 'endhostent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  34. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_ghostent':
  35. /build/buildd/perl-5.10.0/pp_sys.c:4663: warning: Using 'gethostent_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  36. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_gnetent':
  37. /build/buildd/perl-5.10.0/pp_sys.c:4740: warning: Using 'getnetbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  38. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_snetent':
  39. /build/buildd/perl-5.10.0/pp_sys.c:4938: warning: Using 'setnetent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  40. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_enetent':
  41. /build/buildd/perl-5.10.0/pp_sys.c:4983: warning: Using 'endnetent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  42. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_gnetent':
  43. /build/buildd/perl-5.10.0/pp_sys.c:4747: warning: Using 'getnetent_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  44. /build/buildd/perl-5.10.0/pp_sys.c:4731: warning: Using 'getnetbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  45. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_gprotoent':
  46. /build/buildd/perl-5.10.0/pp_sys.c:4812: warning: Using 'getprotobynumber_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  47. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_sprotoent':
  48. /build/buildd/perl-5.10.0/pp_sys.c:4949: warning: Using 'setprotoent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  49. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_eprotoent':
  50. /build/buildd/perl-5.10.0/pp_sys.c:4995: warning: Using 'endprotoent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  51. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_gprotoent':
  52. /build/buildd/perl-5.10.0/pp_sys.c:4819: warning: Using 'getprotoent_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  53. /build/buildd/perl-5.10.0/pp_sys.c:4804: warning: Using 'getprotobyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  54. listen.o: In function `listen_bind':
  55. /home/user/Bureau/freeradius-server-2.1.4/src/main/listen.c:1137: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  56. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_gservent':
  57. /build/buildd/perl-5.10.0/pp_sys.c:4865: warning: Using 'getservbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  58. /build/buildd/perl-5.10.0/pp_sys.c:4877: warning: Using 'getservbyport_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  59. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_sservent':
  60. /build/buildd/perl-5.10.0/pp_sys.c:4960: warning: Using 'setservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  61. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_eservent':
  62. /build/buildd/perl-5.10.0/pp_sys.c:5007: warning: Using 'endservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  63. /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libperl.a(pp_sys.o): In function `Perl_pp_gservent':
  64. /build/buildd/perl-5.10.0/pp_sys.c:4884: warning: Using 'getservent_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
  65. /usr/bin/ld: attempted static link of dynamic object `/usr/lib/libmysqlclient_r.so'
  66. collect2: ld returned 1 exit status
  67. rm -f .libs/radiusdS.o
  68. make[4]: *** [radiusd] Erreur 1
  69. make[4]: quittant le répertoire « /home/user/Bureau/freeradius-server-2.1.4/src/main »
  70. make[3]: *** [common] Erreur 2
  71. make[3]: quittant le répertoire « /home/user/Bureau/freeradius-server-2.1.4/src »
  72. make[2]: *** [all] Erreur 2
  73. make[2]: quittant le répertoire « /home/user/Bureau/freeradius-server-2.1.4/src »
  74. make[1]: *** [common] Erreur 2
  75. make[1]: quittant le répertoire « /home/user/Bureau/freeradius-server-2.1.4 »
  76. make: *** [all] Erreur 2


 
J'ai suivis le Tuto : Guide d'installation par La Goutte Alexis
nom du fichier : InstallationFreeradiusEAP-TLSmysqlv1.0.1.pdf
Lien : http://blog.igut.fr/public/Install [...] v1.0.1.pdf
 
Etant à la base que sur Windows j'avourai que linux ma bien troublé et dépayser, mais cela ma permis de m'initier et j'en susi fort content.
 
Voila, j'espère que quelqun pourrait m'aider par des réponses simples que je pourrai comprendre car je suis vraiment un débutant ^^
 
Merci d'avance et à bientôt
:)  
 
 

mood
Pub
Posté le 07-05-2009 à 09:20:41  
 

n°70176
Ashe
reenignE esreveR
Posté le 07-05-2009 à 11:14:10  
 

Dans ton configure c'est pas forcement des erreurs, juste qu'il detecte si certains trucs sont presents ou pas, le configure te mettrait une erreur complete si il y avait un truc qui est requis et pas present...
Et pour le build a la limite tente un apt-get install libmysqlclient15-dev et si ca marche toujours pas (faire un make clean et recommencer le configure = make), tu peux tenter sans le --disable-shared de ton configure


---------------
pcx360 | Binary Genetics | Dreaming Prophet
“Entropy isn’t what it used to be.”
n°70177
twentycent
Posté le 07-05-2009 à 11:22:10  
 

merci pour ta réponse, alors j'avais déja installé libmysqlclient15-dev et même le 16 ^^
Je vais essayé le make clean, mais quand tu dit de recommencer le configure = make, c'est que je dois tapper "configure = make" ou faire le configure, puis le make et make install ?
Et je vais essayé sans le "-–disable-shared" mais, à quoi sert il ?

n°70178
Ashe
reenignE esreveR
Posté le 07-05-2009 à 11:32:15  
 

Ah non manque un caractere, c'etait configure => make :D
make clean (effacer tout ce qu'il a fait)
configure (preparer le makefile pour le build)
make (le build)
make install (installer)


---------------
pcx360 | Binary Genetics | Dreaming Prophet
“Entropy isn’t what it used to be.”
n°70179
twentycent
Posté le 07-05-2009 à 11:58:31  
 

Merci pour tes précisions,
J'ai fait un make clean puis configure => make mais il ne comprend pas cette commande .
Sinon j'ai refait un make clean puis
./configure avec et sans le --disable-shared
suivis d'un make && make install
mais cela me refait les même erreur


Message édité par twentycent le 07-05-2009 à 11:58:50
n°70180
Ashe
reenignE esreveR
Posté le 07-05-2009 à 13:37:49  
 

Non mais "configure => make" c'est juste pour dire que tu fais configure et apres tu fais make :D


---------------
pcx360 | Binary Genetics | Dreaming Prophet
“Entropy isn’t what it used to be.”
n°70181
twentycent
Posté le 07-05-2009 à 13:51:57  
 

a ok ^^ bon et bien je l'avais fait, j'avais fait ./configure ...
puis apres : " make && make install"
Mais cela me refait les même erreurs ?
Une autre piste ?

n°70182
Ashe
reenignE esreveR
Posté le 07-05-2009 à 14:01:45  
 

Bah a priori il te faudrait /usr/lib/libmysqlclient_r.a plutot que le .so
edit: ou alors que tu fasses pas un link statique :D


Message édité par Ashe le 07-05-2009 à 14:02:06

---------------
pcx360 | Binary Genetics | Dreaming Prophet
“Entropy isn’t what it used to be.”
n°70183
twentycent
Posté le 07-05-2009 à 14:54:56  
 

Merci pour ta réponse, bon j'ai cherché mais n'ai pas trouvé comment avoir "libmysqlclient_r.a"
Et sinon pour faire le link statique je ne vois pas du tout comment faire ^^
Si tu avais une procédure car la c'est un peu compliqué pour moi :D

 

Merci d'avance


Message édité par twentycent le 07-05-2009 à 14:55:17
n°70184
Ashe
reenignE esreveR
Posté le 07-05-2009 à 14:56:55  
 

Apres avoir fait le configure faut editer le makefile et bouger le "-static"
Mais bon ca peut amener + de problemes qu'en retirer :p
(si ca strouve y a un flag pour le configure pour qu'il le fasse pas en static, mais bon ca depend d'un programme a l'autre ca)


---------------
pcx360 | Binary Genetics | Dreaming Prophet
“Entropy isn’t what it used to be.”
n°70185
twentycent
Posté le 07-05-2009 à 15:54:06  
 

ok merci et donc je fait quoi ? O_o
Si ca peut amener plus de problème ... ?
Et sinon pour le flag ?
 
La vraiment je ne vois/comprend pas ta réponse ^^

n°70186
Ashe
reenignE esreveR
Posté le 07-05-2009 à 16:08:04  
 

Quand tu fais le configure ca modifie le makefile
Apres tu fais "vi makefile" (ou ed ou emacs ou cke tu veux)
Apres tu cherches le "-static" et tu le vires :p
Puis t'enregistres, et tu fais ton make


---------------
pcx360 | Binary Genetics | Dreaming Prophet
“Entropy isn’t what it used to be.”
n°70187
twentycent
Posté le 07-05-2009 à 17:18:01  
 

ok je test sa merci ;)

 

Edit: il n'y a pas de -static dans le Makefile ??


Message édité par twentycent le 07-05-2009 à 17:28:46
n°70188
Ashe
reenignE esreveR
Posté le 07-05-2009 à 17:43:20  
 

"gcc .libs/radiusdS.o -static -o radiusd acct.o auth.o client.o"
 
Doit bien sortir de quelque part le -static :D


---------------
pcx360 | Binary Genetics | Dreaming Prophet
“Entropy isn’t what it used to be.”
  FORUM Matbe.com
  OS, Software, Réseaux
  OS alternatifs

  [Installation] FreeRadius sur Ubuntu 9.04 ou Debian 5.0