Compiling 1.1.3
Matthew Green
matthew.green at aggregator.tv
Wed Nov 22 12:38:29 CET 2006
Hello,
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 rlm_perl.la \
-rpath /usr/local/freeRADIUS/lib rlm_perl.lo rlm_perl.c
/Users/mat/Desktop/freeradius-1.1.3/src/lib/libradius.la \
`perl -MExtUtils::Embed -e ldopts` -lresolv -lpthread
*** Warning: Linking the shared library rlm_perl.la against the
*** static library
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a is not portable!
rm -fr .libs/rlm_perl-1.1.3.so .libs/rlm_perl.a .libs/rlm_perl.so
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
.libs/rlm_perl-1.1.3.so -bundle .libs/rlm_perl.o
/Users/mat/Desktop/freeradius-1.1.3/src/lib/.libs/libradius.dylib
-L/usr/local/lib
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a -L/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -lperl
-ldl -lm -lc -lresolv -lpthread
(cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-1.1.3.so rlm_perl.so)
ar cru .libs/rlm_perl.a
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a rlm_perl.o
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLo
ader.a
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]: *** [rlm_perl.la] 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
Mat
More information about the Freeradius-Users
mailing list