Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] building HTCondor 7.9.6 on Mac OS fails, _res_9_init undefined
- Date: Thu, 16 May 2013 17:45:29 -0700
- From: Leo Singer <lsinger@xxxxxxxxxxx>
- Subject: [HTCondor-users] building HTCondor 7.9.6 on Mac OS fails, _res_9_init undefined
Hi,
I am having some difficulty building HTCondor 7.9.6 on Mac OS. In fact, I am attempting to update the MacPorts package. The build fails here:
Undefined symbols for architecture x86_64:
"_res_9_init", referenced from:
DaemonCore::refreshDNS() in libcondor_utils_7_9_6.a(daemon_core.cpp.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [src/condor_shadow.V6.1/condor_shadow] Error 1
I'm no expert on CMake internals, but the file src/condor_shadow.V6.1/CMakeFiles/link.txt, which seems to contain the linker command, does not contain a '-lresolv' flag. It seems like it should, because this is where res_9_init is defined:
$ nm /usr/lib/libresolv.dylib | grep res_9_init
000000000000dc4c T _res_9_init
Is this a plausible diagnosis? If so, is there a workaround?
Thanks,
Leo Singer
Graduate Student @ LIGO-Caltech