ive searched for the radius module ldconfig -v | grep radius and found
/usr/lib64: libradiusclient-ng.so.2 -> libradiusclient-ng.so.2.0.0 /usr/lib libradius-1.0.1.so -> libradius.so tried to build in root ser dir Still not sure what i am missing same error below make[1]: Entering directory `/usr/src/ser/ser-0.9.6/modules/acc' gcc -shared -Wl,-O2 -Wl,-E acc.o acc_mod.o diam_avp.o diam_message.o diam_tcp.o -L/usr/local/lib -lradiusclient-ng -o acc.so /usr/bin/ld: cannot find -lradiusclient-ng collect2: ld returned 1 exit status make[1]: *** [acc.so] Error 1 make[1]: Leaving directory `/usr/src/ser/ser-0.9.6/modules/acc' **************************************************************************
First off, make sure /etc/ld.so.conf points to the correct radius client dir, rerun ldconfig. Then do what it says. Don't make the module FROM the module directory. There's info in the INSTALL file on how to compile the modules one at a time properly. From the root src tree: make modules=modules/acc modules David Adade wrote: > > > first problem running make in /usr/src/ser/ser-0.9.6/modules/acc > > i get the following error > acc.c:56:33: radiusclient-ng.h: No such file or directory > > So i installed the following > > freeradius-1.0.1-3.RHEL4.5. > radiusclient-ng-devel-0.5.2-4 > radiusclient-ng-0.5.2-4 > > now i get the error > > ../../Makefile.modules:21: "you should run make from the main ser > directory" > gcc -shared -Wl,-O2 -Wl,-E acc.o acc_mod.o diam_avp.o > diam_message.o diam_tcp.o -L/usr/local/lib -lradiusclient-ng -o acc.so > /usr/bin/ld: cannot find -lradiusclient-ng > collect2: ld returned 1 exit status > make: *** [acc.so] Error 1 > > vi /etc/ld.so.conf reads > > /usr/ofed/lib > /usr/lib64/ > /etc/radiusclient > /usr/sbin > /usr/bin > > I am running centos 4. The radius server works fine no problems > > > vi /usr/src/ser/ser-0.9.6/modules/acc/Makefile reads > > # uncomment the next line if you wish to enable SQL accounting > DEFS+=-DSQL_ACC > > # uncomment the next two lines if you wish to enable RADIUS accounting > DEFS+=-DRAD_ACC > include ../../Makefile.radius > # DEFS+=-DRAD_ACC -I$(LOCALBASE)/include > # LIBS=-L$(LOCALBASE)/lib -lradiusclient- > > Can anyone help > > > > > > > > > *********************************************************************** > IMPORTANT NOTICE: > The information transmitted is intended only for the person or entity to > which it is addressed and may contain confidential and/or privileged > material. If you receive this in error, please contact the sender and > delete the material from any computer. > This e-mail is intended for the above named addressee only. > Should you receive this e-mail in error please contact > Customer Services on Tel: + 44 (0)870 241 2439 > ************************************************************************ > > ------------------------------------------------------------------------ > > _______________________________________________ > Serusers mailing list > Serusers@lists.iptel.org > http://lists.iptel.org/mailman/listinfo/serusers > -- Neil Fusillo CEO Infinideas, inc. http://www.ideasip.com
*********************************************************************** IMPORTANT NOTICE: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you receive this in error, please contact the sender and delete the material from any computer. This e-mail is intended for the above named addressee only. Should you receive this e-mail in error please contact Customer Services on Tel: +44 (0)870 241 2439 ************************************************************************