[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Compiling Error on Building HTCondor 8.0.6



There is a problem with the order of libraries that we have not yet had enough reason to chase. However, there is a work around in the CMakefiles to address this problem.

Add: -DCONDOR_PLATFORM:STRING=x86_64_Ubuntu12
to your cmake command to build condor on Ubuntu12

...Tim

On 05/29/2014 09:11 PM, Lichao Yin wrote:
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


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/

-- 
Tim Theisen
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736