Segmentation fault - FreeRadius 1.1.0.tar.gz with Debian 3.1

oscurin oscurin at gmail.com
Fri Feb 24 21:43:22 CET 2006


 Hello Alan,
 I have searched the MySQL client libreries with "find . -name *mysql*"
 ...
 ...
./usr/lib/libmysqlclient.so.12.0.0
./usr/lib/libmysqlclient_r.so.12.0.0
./usr/lib/libmysqlclient_r.so.12
./usr/lib/libmysqlclient.so.12
./usr/lib/php4/20020429/mysql.so
...
...

I have edited my radiusd.conf and I added the path /usr/lib in the libdir :
...
...
prefix = /usr/local
exec_prefix = ${prefix}
....
....
libdir = ${exec_prefix}/lib:/usr/lib/
...
...

I have seen that directory "/usr/local/lib" has this files:

solsrv:/usr/local/lib# ls
firmware                   rlm_chap.a             rlm_eap_md5-1.1.0.so 
rlm_files.la             rlm_realm-1.1.0.so
libeap-1.1.0.la            rlm_chap.la            rlm_eap_md5.a 
rlm_files.so             rlm_realm.a
libeap-1.1.0.so            rlm_chap.so            rlm_eap_md5.la 
rlm_mschap-1.1.0.la      rlm_realm.la
libeap.a                   rlm_checkval-1.1.0.la  rlm_eap_md5.so 
rlm_mschap-1.1.0.so      rlm_realm.so
libeap.la                  rlm_checkval-1.1.0.so  rlm_eap_mschapv2-1.1.0.la 
rlm_mschap.a             rlm_sim_files-1.1.0.la
libeap.so                  rlm_checkval.a         rlm_eap_mschapv2-1.1.0.so 
rlm_mschap.la            rlm_sim_files-1.1.0.so
libltdl.a                  rlm_checkval.la        rlm_eap_mschapv2.a 
rlm_mschap.so            rlm_sim_files.a
libltdl.la                 rlm_checkval.so        rlm_eap_mschapv2.la 
rlm_ns_mta_md5-1.1.0.la  rlm_sim_files.la
libltdl.so                 rlm_cram-1.1.0.la      rlm_eap_mschapv2.so 
rlm_ns_mta_md5-1.1.0.so  rlm_sim_files.so
libltdl.so.3               rlm_cram-1.1.0.so      rlm_eap_sim-1.1.0.la 
rlm_ns_mta_md5.a         rlm_smb-1.1.0.la
libltdl.so.3.1.0           rlm_cram.a             rlm_eap_sim-1.1.0.so 
rlm_ns_mta_md5.la        rlm_smb-1.1.0.so
libradius-1.1.0.la         rlm_cram.la            rlm_eap_sim.a 
rlm_ns_mta_md5.so        rlm_smb.a
libradius-1.1.0.so         rlm_cram.so            rlm_eap_sim.la 
rlm_pap-1.1.0.la         rlm_smb.la
libradius.a                rlm_detail-1.1.0.la    rlm_eap_sim.so 
rlm_pap-1.1.0.so         rlm_smb.so
libradius.la               rlm_detail-1.1.0.so    rlm_eap.so 
rlm_pap.a                rlm_sql-1.1.0.la
libradius.so               rlm_detail.a           rlm_example-1.1.0.la 
rlm_pap.la               rlm_sql-1.1.0.so
rlm_acct_unique-1.1.0.la   rlm_detail.la          rlm_example-1.1.0.so 
rlm_pap.so               rlm_sql.a
rlm_acct_unique-1.1.0.so   rlm_detail.so          rlm_example.a 
rlm_passwd-1.1.0.la      rlm_sqlcounter-1.1.0.la
rlm_acct_unique.a          rlm_digest-1.1.0.la    rlm_example.la 
rlm_passwd-1.1.0.so      rlm_sqlcounter-1.1.0.so
rlm_acct_unique.la         rlm_digest-1.1.0.so    rlm_example.so 
rlm_passwd.a             rlm_sqlcounter.a
rlm_acct_unique.so         rlm_digest.a           rlm_exec-1.1.0.la 
rlm_passwd.la            rlm_sqlcounter.la
rlm_always-1.1.0.la        rlm_digest.la          rlm_exec-1.1.0.so 
rlm_passwd.so            rlm_sqlcounter.so
rlm_always-1.1.0.so        rlm_digest.so          rlm_exec.a 
rlm_perl-1.1.0.la        rlm_sql.la
rlm_always.a               rlm_eap-1.1.0.la       rlm_exec.la 
rlm_perl-1.1.0.so        rlm_sql_log-1.1.0.la
rlm_always.la              rlm_eap-1.1.0.so       rlm_exec.so 
rlm_perl.a               rlm_sql_log-1.1.0.so
rlm_always.so              rlm_eap.a              rlm_expr-1.1.0.la 
rlm_perl.la              rlm_sql_log.a
rlm_attr_filter-1.1.0.la   rlm_eap_gtc-1.1.0.la   rlm_expr-1.1.0.so 
rlm_perl.so              rlm_sql_log.la
rlm_attr_filter-1.1.0.so   rlm_eap_gtc-1.1.0.so   rlm_expr.a 
rlm_preprocess-1.1.0.la  rlm_sql_log.so
rlm_attr_filter.a          rlm_eap_gtc.a          rlm_expr.la 
rlm_preprocess-1.1.0.so  rlm_sql.so
rlm_attr_filter.la         rlm_eap_gtc.la         rlm_expr.so 
rlm_preprocess.a         rlm_unix-1.1.0.la
rlm_attr_filter.so         rlm_eap_gtc.so         rlm_fastusers-1.1.0.la 
rlm_preprocess.la        rlm_unix-1.1.0.so
rlm_attr_rewrite-1.1.0.la  rlm_eap.la             rlm_fastusers-1.1.0.so 
rlm_preprocess.so        rlm_unix.a
rlm_attr_rewrite-1.1.0.so  rlm_eap_leap-1.1.0.la  rlm_fastusers.a 
rlm_radutmp-1.1.0.la     rlm_unix.la
rlm_attr_rewrite.a         rlm_eap_leap-1.1.0.so  rlm_fastusers.la 
rlm_radutmp-1.1.0.so     rlm_unix.so
rlm_attr_rewrite.la        rlm_eap_leap.a         rlm_fastusers.so 
rlm_radutmp.a
rlm_attr_rewrite.so        rlm_eap_leap.la        rlm_files-1.1.0.la 
rlm_radutmp.la
rlm_chap-1.1.0.la          rlm_eap_leap.so        rlm_files-1.1.0.so 
rlm_radutmp.so
rlm_chap-1.1.0.so          rlm_eap_md5-1.1.0.la   rlm_files.a 
rlm_realm-1.1.0.la
solsrv:/usr/local/lib#



I have runned "radiusd -X" and it doesn't work :-((((





----- Original Message ----- 
From: "Alan DeKok" <aland at ox.org>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Friday, February 24, 2006 6:28 PM
Subject: Re: Segmentation fault - FreeRadius 1.1.0.tar.gz with Debian 3.1


> "oscurin" <oscurin at gmail.com> wrote:
>> Segmentation fault
>> solsrv:/usr/local/etc/raddb#=20
>
>  Your MySQL client libraries cannot be found at run time.  Edit the
> "libdir" configuration item to include the directory where the files
> are located, or update your dynamic linker.
>
>  Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html 




More information about the Freeradius-Users mailing list