2013-03-06 5 views
1

난 그냥 freeradius, freeradius-server-2.2.0.tar.gz에서 freeradius를 설치했습니다. comile 및 make install well.i는 radius -X를 실행하여 디버그 모드로 먼저 실행할 수도 있습니다.<ask> mysql과 freeradius를 구성하십시오.

그럼 내가 myserver 데이터베이스를 사용하여 실행할 수있는 freeradius를 구성하려고합니다.

나는 uncoment이 radiusd.conf에 SQL을 포함

그런 다음 내가 schema.sql에서 MySQL 데이터베이스 스키마를 가져

을 nas.sql sql.conf에 대한 연결을 구성, 사이트-가능/기본에 회계, authorizaion을 구성 내가 울부 짖는 소리와 같은 오류가 발생했습니다 -X 내가 radiusd을 실행하려고 할 때

다음 :

Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory 
Make sure it (and all its dependent libraries!) are in the search path of your system's ld. 
/usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql" 
/usr/local/etc/raddb/sites-enabled/default[177]: Failed to find "sql" in the "modules" section. 
/usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize section. 

사람은이 문제를 해결하는 방법을 도와 수 있을까?

감사

답변

3

당신은 radiusd.conf에서 "$가 sql.conf는 포함"는 주석을 제거 했습니까?

그리고 당신은 데비안, 우분투 ... apt-get을 함께 * 내가 libmysqlclient- 설치 후

+0

사실 everyting 잘 실행 "apt-get을 libmysqlclient-dev에 설치"하려고 사용하는 경우. –