Re: Complie error

2013-02-14 Thread A . L . M . Buxey
Hi,

What might I be missing when I get this error: (Version 2.x.x)
 
Making all in rlm_eap_pwd...
 
make[9]: Entering directory
`/usr/src/freeradius-server/src/modules/rlm_eap/types/rlm_eap_pwd'
 
make[9]: *** No rule to make target `rlm_eap_pwd.h', needed by
`rlm_eap_pwd.c'.  Stop.

likely to be an old version of OpenSSL without required ECC support etc - so the
build process doesnt pick this up properly...and thus this new module fails to 
have
right bits just remove that 
/usr/src/freeradius-server/src/modules/rlm_eap/types/rlm_eap_pwd
directory

(are you using EAP_PWD ?)

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


Re: Complie error

2013-02-14 Thread Alan DeKok
David Peterson wrote:
 What might I be missing when I get this error: (Version 2.x.x)

 Making all in rlm_eap_pwd...
 
 make[9]: Entering directory
 `/usr/src/freeradius-server/src/modules/rlm_eap/types/rlm_eap_pwd'
 
 make[9]: *** No rule to make target `rlm_eap_pwd.h', needed by
 `rlm_eap_pwd.c'.  Stop.

  Hmm... Version 2.x doesn't have the EAP-PWD module.  It looks like
your source tree is screwed up somehow.

  I'd suggest just deleting the rlm_eap_pwd directory.

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


RE: Complie error

2013-02-14 Thread David Peterson
It looks like it was my flawed git skills hard at work.


So now I am fighting libtool.  What is the best method for a successful
compile and install for Ubuntu where the libtool gets in your way.

I am stuck here if I use --with-system-libtool option

.libs/modules.o: In function `setup_modules':
/usr/src/freeradius-server/src/main/modules.c:1412: undefined reference to
`lt_preloaded_symbols'


David

-Original Message-

From: Alan DeKok [mailto:al...@deployingradius.com] 
Sent: Thursday, February 14, 2013 11:38 AM
To: David Peterson-WirelessConnections; FreeRadius users mailing list
Subject: Re: Complie error

David Peterson wrote:
 What might I be missing when I get this error: (Version 2.x.x)

 Making all in rlm_eap_pwd...
 
 make[9]: Entering directory
 `/usr/src/freeradius-server/src/modules/rlm_eap/types/rlm_eap_pwd'
 
 make[9]: *** No rule to make target `rlm_eap_pwd.h', needed by 
 `rlm_eap_pwd.c'.  Stop.

  Hmm... Version 2.x doesn't have the EAP-PWD module.  It looks like your
source tree is screwed up somehow.

  I'd suggest just deleting the rlm_eap_pwd directory.

  Alan DeKok.

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


RE: Complie error

2013-02-14 Thread David Peterson
It compiles properly but when I run the daemon it can't find the freeradius
libs.

I get this at the end of compile:
PATH=$PATH:/sbin ldconfig -n /usr/local/lib
--
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
 during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
 during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

David

-Original Message-
From:
freeradius-users-bounces+davidp=wirelessconnections@lists.freeradius.org
[mailto:freeradius-users-bounces+davidp=wirelessconnections.net@lists.freera
dius.org] On Behalf Of Phil Mayers
Sent: Thursday, February 14, 2013 12:06 PM
To: freeradius-users@lists.freeradius.org
Subject: Re: Complie error

On 14/02/13 16:57, David Peterson wrote:
 It looks like it was my flawed git skills hard at work.


 So now I am fighting libtool.  What is the best method for a 
 successful compile and install for Ubuntu where the libtool gets in your
way.

Take off and nuke the entire site from orbit. It's the only way to be sure.

[Bloody libtool...]

Why are you using --with-system-libtool? What happens if you just:

./configure
make
make install

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

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


RE: Complie error

2013-02-14 Thread Phil Mayers
That might be your /etc/ld.so.conf - see the man pages for ld.so and check 
/usr/local/lib is there or in rpath (ldd radiusd)

Alternatively

./configure --prefix /usr


David Peterson dav...@wirelessconnections.net wrote:

It compiles properly but when I run the daemon it can't find the
freeradius
libs.

-- 
Sent from my mobile device, please excuse brevity and typos.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Complie error

2013-02-14 Thread A . L . M . Buxey
Hi,

 It compiles properly but when I run the daemon it can't find the freeradius
 libs.
 
 I get this at the end of compile:
 PATH=$PATH:/sbin ldconfig -n /usr/local/lib
 --
 Libraries have been installed in:
/usr/local/lib

as Phil says, check the LD path is known in eg /etc/ld.so.conf 

you might also want to run 'ldconfig -v' to verify that the libraries
have been picked up and are seen/known

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