Hi,
Do an ldd of the .so (in the lib dir)
ldd rlm_sql_mysql.so
libmysqlclient.so.10 => (file not found)
libnsl.so.1 => /usr/lib/libnsl.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libsocket.so.1 => /usr/lib/libsocket.so.1
... etc.
Look on your system where this lib is and then put that specific dir
in the LD_LIBRARY_PATH. (probably /usr/local/lib/mysql/ for your install)
The ldd will show then if it found the module (like the other libs).
bash
On Thu, 28 Mar 2002, Marcello Lupo wrote:
> Ho to all,
> I'm tyying to installa freeradius 0.5 on a Sun Solaris 5.8.
> I had some problem while compiling the mysql module due to fact i was
> using the binary release of mysql, it don't find the libmysqlclient.
> After i get the source distribution of mysql, compiled and installed the
> rlm_sql_mysql module compile fine and was installed in /usr/local/lib .
>
> But the system is giving me this error (the same as before):
>
> rlm_sql: Could not link driver rlm_sql_mysql: file not found
> rlm_sql: Make sure it (and all its dependent libraries!) are in the
> search path of your system's ld.
> radiusd.conf[4]: sql: Module instantiation failed.
>
> this time the file il present but the system don't see it.
> I think may be a problem of the LD_LIBRARY_PATH that on SOlaris (i read)
> is not supported and there is not a ldconfig tool.
>
> So have you any idea to let Solaris see that libraries?
> Thank you in Advice.
> MArcello
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html