Hi
Thanks NN for your cooperation. I have found the
problem. the env variable LD_LIBRARY_PATH was not
working properly as it was not defined in proper login
script. After adding the following line in .profile,
everything worked fine.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
A small mistake but big problem.
Thanks again
Aqeel
-- Nikodim Nikodimov [EMAIL PROTECTED] wrote:
Well I don't know how is it with shared libraries in
Solaris...:((
see this information in the beginning of the
rasius.conf file
#
# libdir: Where to find the rlm_* modules.
#
# This should be automatically set at
configuration time.
#
# If the server builds and installs, but fails at
execution time
# with an 'undefined symbol' error, then you can
use the libdir
# directive to work around the problem.
#
# The cause is usually that a library has been
installed on your
# system in a place where the dynamic linker
CANNOT find it. When
# executing as root (or another user), your
personal environment MAY
# be set up to allow the dynamic linker to find
the library. When
# executing as a daemon, FreeRADIUS MAY NOT have
the same
# personalized configuration.
#
# To work around the problem, find out which
library contains that symbol,
# and add the directory containing that library to
the end of 'libdir',
# with a colon separating the directory names. NO
spaces are allowed.
#
# e.g. libdir = /usr/local/lib:/opt/package/lib
#
# If that does not work, then you can re-configure
and re-build the
# server to NOT use shared libraries, via:
#
# ./configure --disable-shared
# make
# make install
#
NN
- Original Message -
From: Aqeel Anwar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 2:56 PM
Subject: Re: (no subject).. compiling freeradius
with mysql.
I am using freeradius on solaris 2.7. There is no
/etc/ld.so.conf file and also there is no ldconfig
file. I have installed gnu binutil but still these
files are not avaiable.
Thanks for your reply.
Aqeel
--- Nikodim Nikodimov [EMAIL PROTECTED]
wrote:
Do you have in /etc/ld.so.conf
/usr/local/lib
this file tells where to search for shred
libraries...if you don't put it
and make ldconfig...to update ld.so.cache
NN
- Original Message -
From: Aqeel Anwar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 1:21 PM
Subject: Re: (no subject).. compiling freeradius
with mysql.
I installed mysql from source and mysql.h is
there
in
include directory . With ./configure command i
also
provided this include directory. But still I
dont
know
whether rlm_sql_mysql has been compiled or
not. In
/usr/local/lib i have the following files
related
to
sql.
rlm_sql.a, rlm_sql.so.0.0.0,
rlm_sql_mysql.so.0
rlm_sql.la, rlm_sql_mysql.a,
rlm_sql_mysql.so.0.0.0
rlm_sql.so, rlm_sql_mysql.la, rlm_sql.so.0
rlm_sql_mysql.so
Thanks for your reply.
Aqeel
--- Nikodim Nikodimov [EMAIL PROTECTED]
wrote:
This happens probably because you don't have
rlm_sql_mysql compiled. How did
you install mysql?
from source or rpm...I had the same problem,
because
first I had mysql from
rpm...and I didn't have mysql.h...and some
other
header files...so I
installed mysql from source...and after then
I
reinstalled freeradius and
after that I had rlm_sql_mysql.
NN
- Original Message -
From: Aqeel Anwar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 12:24 PM
Subject: (no subject)
HI all
I am trying to run radius with mysql. when
i
start
radius the following error message is
shown.
Starting - reading configuration files ...
Module: Loaded SQL
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.
what should i do in this case.
Thanks for your help.
Aqeel
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with
TurboTax
http://http://taxes.yahoo.com/
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with
TurboTax
http://http://taxes.yahoo.com/
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html