Raymond Norton wrote:
I am trying to install freeradius-2.1.0 on a mac server (10.5.8). Make runs fine, until it gets to the errors below. I am not a mac guy, so not sure where to look for the cause of the error.
My main development machine is a Mac, so it should usually work.
ld warning: in /Users/raymond/Downloads/freeradius-server-2.1.10/src/lib/.libs/libfreeradius-radius.dylib, file is not of required architecture dsymutil .libs/rlm_perl-2.1.10.so || : (cd .libs && rm -f rlm_perl.so && ln -s rlm_perl-2.1.10.so rlm_perl.so) ar cru .libs/rlm_perl.a /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a rlm_perl.o ranlib: archive member: .libs/rlm_perl.a(DynaLoader.a) fat file for cputype (18) cpusubtype (0) is not an object file (bad magic number) ar: internal ranlib command failed
Your Perl libraries aren't correct. The simple solution is to "rm -rf src/modules/rlm_perl", to avoid the bad dependencies. Alan DeKok.