RE: Freeradius-Users Digest, Vol 55, Issue 38

2009-11-10 Thread Peter Carlstedt



 From: freeradius-users-requ...@lists.freeradius.org
 Subject: Freeradius-Users Digest, Vol 55, Issue 38
 To: freeradius-users@lists.freeradius.org
 Date: Tue, 10 Nov 2009 11:35:54 +0100
 
 Send Freeradius-Users mailing list submissions to
   freeradius-users@lists.freeradius.org
 
 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.freeradius.org/mailman/listinfo/freeradius-users
 or, via email, send a message with subject or body 'help' to
   freeradius-users-requ...@lists.freeradius.org
 
 You can reach the person managing the list at
   freeradius-users-ow...@lists.freeradius.org
 
 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Freeradius-Users digest...
 
 
 Today's Topics:
 
1. Re: Freeradius-Users Digest, Vol 55, Issue 32 (Ana Gallardo)
2. Re: Problem with server atribute in NAS table with mysql
   (Ana Gallardo)
3. Cannot upgade to 2.1.7 (kachin Agarwal)
4. FreeRadius crashed on accounting load tests with 1000
   concurrent  clients (Dinh Pham Cong)
5. Re: FreeRadius crashed on accounting load tests with 1000
   concurrent  clients (Alan DeKok)
 
 
 --
 
 Message: 1
 Date: Tue, 10 Nov 2009 08:40:17 +0100
 From: Ana Gallardo ana.gallardo...@gmail.com
 Subject: Re: Freeradius-Users Digest, Vol 55, Issue 32
 To: FreeRadius users mailing list
   freeradius-users@lists.freeradius.org
 Message-ID:
   74556fcf0911092340p498089f7ud0f98614a6d91...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1
 
  I have a problem which I and a friend here have been trying to solve for
  some days now.
 
 
 ?what is your problem?
 
 After we have run in terminal ./configure ; make  sudo make install
  and afterwards try to run radius with radiusd -X (same as freeradius -X if
  youre using freeradius installed through Synaptic Package Manager).
 
 
 and when you run in debug mode??
 
 You can try this howto that works fine
 http://www.linuxinsight.com/building-debian-freeradius-package-with-eap-tls-ttls-peap-support.html

We've tried following it and it does not work following that guide.  I can add 
how our control and rules looks like in the parts which has to be changed in 
that guide.

Changes in control:

Build-Depends: debhelper (= 5), dpatch (= 2), dpkg-dev (= 1.13.19), 
autotools-dev, libtool (= 1.5), libltdl3-dev, libpam0g-dev, 
libmysqlclient15-dev | libmysqlclient-dev, libgdbm-dev, libldap2-dev, 
libsasl2-dev, libiodbc2-dev, libkrb5-dev, libperl-dev, libpcap-dev, python-dev, 
snmp, libsnmp9-dev | libsnmp-dev, libpq-dev, libssl-dev

Changes in rules:
(In Section Autoconf)
ifeq ($(openssl), no)
 confflags += --with-openssl --with-rlm_eap_peap --with-rlm_eap_tls 
--with-rlm_eap_ttls --without-rlm_otp
endif
(In Section Binary Arch)
I choosed not to delete it entirely since im not sure if it is
this section that i should delete, if you check the code here against the
part in
http://www.linuxinsight.com/building-debian-freeradius-package-with-eap-tls-ttls-peap-support.html
it is different so I just commented it out.
ifeq ($(openssl), no)  
#for pkg in $(shell grep ^Package debian/control | awk '{print $$2}') ; do \
#if dh_shlibdeps -p $$pkg -- -O | grep -q libssl; then \
#echo $$pkg links to openssl ; \
#exit 1 ; \
#fi ; \
#done
endif

The problem comes when we try do run make it seems that way anyhow. After we 
have run make command in the terminal we get this output: (not all of the 
output, the parts which i think is about the error)

 /home/peter/Desktop/freeradius-server-2.1.7/src/lib/libfreeradius-radius.la 
-lnsl -lresolv  -lpthread  \
-lcrypt  -lltdl -lcrypto -lssl -lcrypto
rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
creating .libs/radiusdS.c
(cd .libs  gcc  -g -O2 -c -fno-builtin radiusdS.c)
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
gcc .libs/radiusdS.o -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o 
.libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o 
.libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o 
.libs/stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o 
.libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o 
.libs/vmps.o .libs/detail.o -Wl,--export-dynamic  
/home/peter/Desktop/freeradius-server-2.1.7/src/lib/.libs/libfreeradius-radius.so
 -lnsl -lresolv -lpthread -lcrypt /usr/lib/libltdl.so -lssl -lcrypto -ldl 
.libs/modules.o: In function `setup_modules':
/home/peter/Desktop/freeradius-server-2.1.7/src/main/modules.c:1333: undefined 
reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
make[4]: *** [radiusd] Error 1
make[4]: Leaving directory 
`/home/peter/Desktop/freeradius-server-2.1.7/src/main'
make[3]: *** [common] Error 2
make[3]: Leaving 

Re: Freeradius-Users Digest, Vol 55, Issue 38

2009-11-10 Thread Rakotomandimby Mihamina

11/10/2009 03:33 PM, Peter Carlstedt::

*_Changes in control:_*

[...]

_*Changes in rules*_:

[...]
You could just have used 'patch -Naur' (or something similar)

For you other questions:
Ask on the debian-mentors mailing list.

--
  Architecte Informatique chez Blueline/Gulfsat:
   Administration Systeme, Recherche  Developpement
   +261 33 11 207 36
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius-Users Digest, Vol 55, Issue 38

2009-11-10 Thread John Dennis

On 11/10/2009 07:33 AM, Peter Carlstedt wrote:



  From: freeradius-users-requ...@lists.freeradius.org
  Subject: Freeradius-Users Digest, Vol 55, Issue 38
  To: freeradius-users@lists.freeradius.org
  Date: Tue, 10 Nov 2009 11:35:54 +0100



Please follow the posting guidelines and general etiquette.

* do not reply to digest mails, it screws up threading

* do not include the whole text of a digest.

* learn to trim the quoted material to the relevant material

* do not use HTML markup



If I understand the error correctly it points out that the code which
begins at line 1333 in the file modules.c in
~/freeradius-server-2.1.7/src/main/ has an error in it? the code in that
line looks like this:

LTDL_SET_PRELOADED_SYMBOLS();

I am rather new to Linux and a complete newbie ragarding Freeradius so
any help possible would be appreciated.
A question though. Why do I have to make changes in rules and
control to even get it to work?


If you're new to Linux then you're probably going to need to learn some 
basics about software development on Linux. However this mailing list is 
not the source of that information, it's off topic. Since you're new to 
Linux I strongly suggest you install a pre-built version of FreeRADIUS 
instead of trying to build it yourself. You'll save yourself a lot of 
pain and instead you can focus on the real problem at hand, configuring 
and using FreeRADIUS, which is the primary topic of this mailing list.


--
John Dennis jden...@redhat.com

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html