Subject: | Failed build on Snow Leopard [fixed] |
When I ran 'make' on Snow Leopard, I got the following error:
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib -fstack-protector DNS.o netdns.o -o
blib/arch/auto/Net/DNS/DNS.bundle netdns.a \
\
ld: in netdns.a, archive has no table of contents
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Net/DNS/DNS.bundle] Error 1
Setting this environment variable resolved the issue:
export COMMAND_MODE=unix2003
More reference:
http://developer.apple.com/Mac/library/documentation/Darwin/Refere
nce/ManPages/man5/compat.5.html