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

[Condor-users] 回复: 回复: condor_compile



Thank you for your answer!
I tried to locate libm in my linux, and find that only the 
/usr/lib64/libm.so
was there. There should be a /usr/lib64/libm.a , I think.
So I tried to install glibc*,and I get the result:
---------------------------------------------------------------------------------------------
 Installing     : glibc-utils-2.12-1.7.el6_0.5.x86_64                      1/2 
 Installing     : glibc-static-2.12-1.7.el6_0.5.x86_64                     2/2 
---------------------------------------------------------------------------------------------
After that,I find 
/usr/lib64/libm.a
/usr/lib64/libm.so
has been installed in my system.
Then, all things went well!

Thank you for your help either!
Best wishes!
--Yang Guang 
 
------------------ 原始邮件 ------------------
发送时间: 2011年8月29日(星期一) 凌晨0:21
收件人: "Condor-Users Mail List"<condor-users@xxxxxxxxxxx>;
主题: 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
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

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