Compiling OpenSSH
Apologies if this isn't quite the right forum for this, but I'm attempting to recompile OpenSSH (downloaded the latest source from opensource.apple.com) for the purpose of modifying the minimum key length option. When I attempt to run make I get the following error:
Undefined symbols:
" res_9query", referenced from:
_getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
" res_9getshort", referenced from:
parse_dnsrrsection in libopenbsd-compat.a(getrrsetbyname.o)
parse_dnsrrsection in libopenbsd-compat.a(getrrsetbyname.o)
parse_dnsrrsection in libopenbsd-compat.a(getrrsetbyname.o)
_getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
_getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
" res_9getlong", referenced from:
parse_dnsrrsection in libopenbsd-compat.a(getrrsetbyname.o)
" res_9init", referenced from:
_getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
" res_9_dnexpand", referenced from:
parse_dnsrrsection in libopenbsd-compat.a(getrrsetbyname.o)
_getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: * [ssh] Error 1
If anyone has any tips/ideas on what could be causing this, I'd appreciate it.
Thanks 🙂
iMac, Mac OS X (10.6.4)