Compiling 1.1.3

Matthew Green at
Wed Nov 22 12:38:29 CET 2006


I am trying to compile 1.1.3 on Mac OS X so FreeRADIUS will work with
PostgreSQL 8.3 as it does not have libpq.3.dylib but libpq.4.1.dylib but I
get the following error:

Making all in rlm_perl...
/Users/mat/Desktop/freeradius-1.1.3/libtool --mode=link gcc -release 1.1.3 \
-module -export-dynamic   -o     \
-rpath /usr/local/freeRADIUS/lib rlm_perl.lo rlm_perl.c
/Users/mat/Desktop/freeradius-1.1.3/src/lib/ \
`perl -MExtUtils::Embed -e ldopts` -lresolv  -lpthread

*** Warning: Linking the shared library against the
*** static library 
ader.a is not portable!
rm -fr  .libs/ .libs/rlm_perl.a .libs/
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
.libs/ -bundle  .libs/rlm_perl.o
ader.a -L/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -lperl
-ldl -lm -lc -lresolv -lpthread
(cd .libs && rm -f && ln -s
ar cru .libs/rlm_perl.a
ader.a  rlm_perl.o 
ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for cputype
(7) cpusubtype (3) is not an object file (bad magic number)
ar: internal ranlib command failed
make[6]: *** [] Error 1
make[5]: *** [common] Error 2
make[4]: *** [all] Error 2
make[3]: *** [common] Error 2
make[2]: *** [all] Error 2
make[1]: *** [common] Error 2
make: *** [all] Error 2

Any ideas why?

Thanks in advance

More information about the Freeradius-Users mailing list