At 04:40 PM 3/28/2002 +0100, 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.

LD_LIBRARY_PATH *is* supported, and definitely needed.  If this is not
set, then solaris by default won't check /usr/local/lib.

Since you are on solaris, you can use:

truss -t open radiusd

That will trace through the 'open()' system calls.  It will tell you
what file/module the process is unable to find/open.

-Chris
--
    \\\|||///  \          StarNet Inc.      \        Chris Parker
    \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
    | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                   \ Wholesale Internet Services - http://www.megapop.net



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to