help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Can't get MySQL to work


From: Leon Braginski
Subject: Re: [Help-gnu-radius] Can't get MySQL to work
Date: Tue, 29 Jul 2003 21:02:17 +0000

It does not look like my radius includes SQL support:

        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40059000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

From the config.log file:


$ ./configure --with-mysql --with-include-path=/usr/include/mysql --with-lib-path=/usr/lib/mysql

...
configure:16945: checking for mysql_real_connect in -lmysqlclient
configure:16997: result: no
configure:17009: result: no
...
ra_cv_lib_mysqlclient=no

Entire config.log file is attached.

What do I wrong and what should I do to have mySQL support in Radiusd?
thanks




From: Anderson Nadal <address@hidden>
Reply-To: address@hidden
To: address@hidden
Subject: Re: [Help-gnu-radius] Can't get MySQL to work
Date: Tue, 29 Jul 2003 15:57:30 -0300

Hy Leon.

Use the ldd to view the libs used by radiusd.
ldd radiusd
libmysqlclient.so.10 =>  /usr/lib/libmysqlclient.so.10
other libs will apear (depending what is your machine- Linux, Solaris, BSD, etc..)

If the libmysqlclient.so not apear in the ldd someting is wrong.
Take a look in the configure.log.

[]'s
Nadal



Leon Braginski wrote:

1. I have followed instuctions here http://mail.gnu.org/archive/html/help-gnu-radius/2003-06/msg00088.html to build radius with SQL support. I have verified that mysql headers are libraries are in the expected location

2. However I keep getting error "SQL authentication not available"

Questions:
1. Is there a command I can issue to verify that radiusd is build with correct SQL support?
2. Is there any logging options I use to determine what is the problem?

thanks

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



_______________________________________________
Help-gnu-radius mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-gnu-radius



--
+-------------------------------------------------------+
|                  Anderson Nadal                       |
|               address@hidden                   |
|        RHCE - Red Hat Certified Engineer              |
|            Administrador Unix/Network                 |
|           Onda Provedor de Serviços S/A               |
|         www.onda.com.br - (41) 3025-3000              |
|        Promovendo segurança para seu negócio!         |
+-------------------------------------------------------+




_______________________________________________
Help-gnu-radius mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-gnu-radius

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail

Attachment: temp.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]