Hi Guys,
Our group hopes to use HTCondor for our research.Â
But we encountered some compiling errors when building HTCondor 8.0.6.
The prompt is as follows:
Linking CXX executable condor_shadow
/usr/bin/ld: ../../bld_external/classads-8.0.6/install/lib/libclassad.a(fnCall.cpp.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [src/condor_shadow.V6.1/condor_shadow] Error 1
make[1]: *** [src/condor_shadow.V6.1/CMakeFiles/condor_shadow.dir/all] Error 2
make: *** [all] Error 2
We use Ubuntu 12.04.4 TLS (x86_64) kernel 3.2.5 with HTCondor 8.0.6 stable
The step we use isÂ
1. cmake -DPROPER:BOOL='OFF' -D_VERBOSE:BOOL='ON' .
2. make install
It seems "-ldl" misses in somewhere, but we are not sure about it.
Any suggestion would be appreciated.
Thanks,
Lichao Yin