Am Mi, den 22.12.2004 schrieb Mathias Röhl um 13:28: > Am Mi, den 22.12.2004 schrieb Mathias Röhl um 11:47: > Seems so I forgot to read the Documentation.... > > "In order to build the drivers, you MUST ALSO install the development > versions of the database." > Hm'kay, I'll try it again.... Hi
I did this, installed the libmysqlclient-dev.deb package and in the /src/modules/rlm_sql I did ./configure make && make install. Same with rlm_sql_mysql. LD_LIBRARY_PATH is correct set to /usr/local/lib. But after starting radius -X it says ------------------------------------- sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" rlm_sql (sql): Could not link driver rlm_sql_mysql: /usr/local/lib/rlm_sql_mysql.a: invalid ELF header rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. radiusd.conf[14]: sql: Module instantiation failed. ----------------------- The gdb says ---------------------------- sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076734432 (LWP 13679)] 0x0809059e in lt_dlsym (handle=0x81a7668, symbol=0x81a4038 "rlm_sql_freetds") at ltdl.c:3330 3330 lensym = LT_STRLEN (symbol) + LT_STRLEN (handle->loader->sym_prefix) (gdb) bt #0 0x0809059e in lt_dlsym (handle=0x81a7668, symbol=0x81a4038 "rlm_sql_freetds") at ltdl.c:3330 #1 0x080702ae in rlm_sql_instantiate (conf=0x81a4038, instance=0xf) at rlm_sql.c:682 #2 0x08059763 in find_module_instance (instname=0x80f4130 "sql") at modules.c:358 #3 0x0805ac4d in do_compile_modsingle (component=3, ci=0x80f4110, filename=0x80972f4 "radiusd.conf", grouptype=0, modname=0xbfffeae8) at modcall.c:814 #4 0x0805add2 in compile_modsingle (component=3, ci=0xf, filename=0xf <Address 0xf out of bounds>, modname=0xf) at modcall.c:829 #5 0x08059c6d in load_component_section (cs=0x80f40a0, comp=3, filename=0x80972f4 "radiusd.conf") at modules.c:584 #6 0x0805a044 in setup_modules () at modules.c:874 #7 0x08050bfd in main (argc=2, argv=0xbffffd34) at radiusd.c:965 ---------------------------------- May be I forget something to do........I don't think this is a bug... thx in advance for kindly help regards [EMAIL PROTECTED] -- TANK!!! I need an exit!! FAAAAAAAST!!! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html