From: "Alan DeKok" <[EMAIL PROTECTED]>
>> I'm trying to get FreeRadius to work with MySQL, but it isn't working. >> Every time I run radiusd, it doesn't start, and the log gives me: >> >> Fri Jan 17 11:14:36 2003 : Error: rlm_sql (sql): Could not link driver >> rlm_sql_mysql: file not found > You would think that this question would be addressed in the FAQ, or > in the documentation which comes with the server. > > Oh, wait, it is... > > > What's preventing you from reading the FAQ? > > Alan DeKok. You would think that a normal person of slightly above average would have thought of that. Oh, wait, I did... I already read the FAQ, and it didn't help. That's why I left the message here. --__--__-- From: Simon White <[EMAIL PROTECTED]> >> Fri Jan 17 11:14:36 2003 : Error: rlm_sql (sql): Could not link driver >> rlm_sql_mysql: file not found >> >> Fri Jan 17 11:14:36 2003 : Error: rlm_sql (sql): Make sure it (and all >> its dependent libraries!) are in the search path of your system's ld. >> >> Fri Jan 17 11:14:36 2003 : Error: radiusd.conf[14]: sql: Module >> instantiation failed. >> >> Exactly which libraries does it need? I bought the Radius book from >> O'Reilly, and there isn't anything of use in there... I tried adding >> /usr/local/lib to the /etc/ld.so.conf and running ldconfig, but that >> didn't work (do I need to recompile freeradius afterwards?). I also >> tried compiling freeradius using the -disable-sharing flag, but that >> didn't work either. I have freeradius 0.8.1 and mysql 3.23.54a (bench, >> client, server, and devel). If anyone has any ideas on what I should >> try, or if you could provide a list of exactly which libraries it needs >> to find, I can link them manually...? > Did you pass the options to configure in order to enable mysql at > compile time? Which options should I pass? I install all the MySQL parts (including devel) to their default places... the configuring and the compiling don't give me any errors, so I'm assuming it found mysql and enabled support for it. --__--__-- > From: Genoud Richard <[EMAIL PROTECTED]> > > you may not have compiled the mysql module... > you need the devel rpm (mysql-devel-X.X.X.X.rpm) I installed all of them (including mysql-devel-3.23.54a-1.rpm)... twice, just to make sure there weren't any errors that I missed on the first try. --__--__-- > From: Gustavo Lozano <[EMAIL PROTECTED]> > > This is Solaris UltraSparc > > I recompiled mysql with shared libs enabled and now it is working > Rgds Where are the mysql shared libraries installed by default? I'm not exactly a mysql expert... - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
