Cannot compile and run on Mac OS X 10.4.7

Stephen Gran steve at lobefin.net
Wed Aug 23 03:33:57 CEST 2006


On Tue, Aug 22, 2006 at 08:14:30PM -0500, Michael Check said:
> Hi all,
> 
> If you try and compile _without_ --disable_shared, the we get through
> make with this at the end:
> 
> /usr/local/src/freeradius-1.1.2/libtool --mode=link gcc   -o radwho
> radwho.lo util.lo log.lo conffile.lo -lresolv  -lpthread
> ../lib/libradius.la
> gcc -o .libs/radwho radwho.o util.o log.o conffile.o  -lresolv
> -lpthread -L../lib/.libs -lradius
> creating radwho
> Making all in raddb...
> make[2]: Nothing to be done for `all'.
> Making all in scripts...
> make[2]: Nothing to be done for `all'.
> Making all in doc...
> Making all in examples...
> /usr/bin/make  -C examples all
> make[4]: Nothing to be done for `all'.
> Making all in rfc...
> /usr/bin/make  -C rfc all
> make[4]: Nothing to be done for `all'.

That looks fine.  raddb, scripts, doc, etcetera aren't compiled, so it
looks like it ran to completion.

> The make install has these ominous warning while linking all the
> libraries for each rlm:
> 
> ----------------------------------------------------------------------
> Libraries have been installed in:
>   /usr/local/lib

Harmless (mostly).  This is only a problem if you don't have that
directory in your library search path, but it seems you do.

> AND FOR PERL:
> 
> *** Warning: This library needs some functionality provided by
> /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.

Harmless.

> AND RUNNING sudo radiusd -X, the following error results:
> 
> read_config_files:  reading dictionary
> read_config_files:  reading naslist
> Using deprecated naslist file.  Support for this will go away soon.
> read_config_files:  reading clients
> read_config_files:  reading realms
> radiusd:  entering modules setup
> Module: Library search path is /usr/local/lib
> radiusd.conf[1565] Failed to link to module 'rlm_exec':
> dlopen(/usr/local/lib/rlm_exec-1.1.2.so, 9): Symbol not found:
> _debug_flag   Referenced from: /usr/local/lib/rlm_exec-1.1.2.so
> Expected in: flat namespace

Did rlm_exec actually get built and installed?

Can you try 1.1.3 (in CVS right now, due Any Day Now) and see if it does
better?  There was a substantial build system rework involved.

Take care,
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | "You're just the sort of person I       |
|  steve at lobefin.net             | imagined marrying, when I was little... |
|  http://www.lobefin.net/~steve | except, y'know, not green... and        |
|                                | without all the patches of fungus."   - |
|                                | - Swamp Thing                           |
 --------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060823/e1a14835/attachment.pgp>


More information about the Freeradius-Users mailing list