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

Re: [Condor-users] 回复: condor_compile



Em domingo 28 agosto 2011, às 02:26:46, 关中大侠 escreveu:
>  ------------------------------------------------
>   LINKING FOR CONDOR : /usr/bin/ld
> -L/home/yangguang/opt/condor7.6.3/release_dir/lib -Bstatic --eh-frame-hdr
> --build-id -m elf_x86_64 --hash-style=gnu -o a
> /home/yangguang/opt/condor7.6.3/release_dir/lib/condor_rt0.o
> /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64/crti.o 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.4/crtbeginT.o
> -L/home/yangguang/opt/condor7.6.3/release_dir/lib
> -L/usr/lib/gcc/x86_64-redhat-linux/4.4.4
> -L/usr/lib/gcc/x86_64-redhat-linux/4.4.4
> -L/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64 -L/lib/../lib64
>  -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../..
> /tmp/ccSoRyCX.o
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcondorsyscall.a
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcondor_z.a
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcomp_libstdc++.a 
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcomp_libstdc++.a -lm
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcomp_libgcc.a
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcomp_libgcc_eh.a
> -lcondor_c -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv  -lcondor_c
> -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv -lcondor_c
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcomp_libgcc.a
> /home/yangguang/opt/condor7.6.3/release_dir/lib/libcomp_libgcc_eh.a
> /usr/lib/gcc/x86_64-redhat-linux/4.4.4/crtend.o
> /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64/crtn.o
> /usr/bin/ld: cannot find -lm
>  collect2: ld returned 1 exit status

Hi Yuang Guang

Perhaps condor_compile is looking for libm '-lm' in 
"/home/yangguang/opt/condor7.6.3/release_dir/lib" instead of "/lib" or 
"/lib64"  ? I'm not familiar with condor_compile, but perhaps there is any 
option to set the path where are the libraries it needs.

Good luck