[root@Demo PDS_Services]# yum search glibc Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror01.idc.hinet.net * extras: centos.cs.nctu.edu.tw * rpmforge: mirror.oscc.org.my * updates: ftp.jaist.ac.jp rpmforge | 1.9 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 749 kB 00:00 ================================================== N/S Matched: glibc ================================================== glibc-common.x86_64 : Common binaries and locale data for glibc compat-glibc.x86_64 : Compatibility C library compat-glibc-headers.x86_64 : Header files for development using standard C libraries. glibc.x86_64 : The GNU libc libraries glibc.i686 : The GNU libc libraries glibc-devel.x86_64 : Object files for development using standard C libraries. glibc-devel.i686 : Object files for development using standard C libraries. glibc-headers.x86_64 : Header files for development using standard C libraries. glibc-static.i686 : C library static libraries for -static linking. glibc-static.x86_64 : C library static libraries for -static linking. glibc-utils.x86_64 : Development utilities from GNU C library kernel-headers.x86_64 : Header files for the Linux kernel for use by glibc latrace.i686 : LD_AUDIT feature frontend for glibc 2.4+ latrace.x86_64 : LD_AUDIT feature frontend for glibc 2.4+
Name and summary matches only, use "search all"for everything.
選擇 glibc-static 安裝即可:
1
# yum install glibc-static
最後重新 make 就成功了:
1 2 3 4 5 6 7 8 9 10 11 12
[root@Demo PDS_Services]# make bin/ exists - good. /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libpthread.a(libpthread.o): In function `sem_open': (.text+0x77cd): warning: the use of `mktemp' is dangerous, better use `mkstemp' [root@Demo PDS_Services]# ll bin total 26524 -rwxrwxr-x 1 1001 1001 7315034 May 31 14:23 pdsservicesarm -rwxrwxr-x 1 1001 1001 4210669 May 31 14:23 pdsserviceshosti686 -rwxr-xr-x 1 root root 1753341 Jul 7 12:05 pdsserviceshostx86_64 -rwxrwxr-x 1 1001 1001 4388975 May 31 14:23 pdsservicesmips -rwxrwxr-x 1 1001 1001 4928396 May 31 14:23 pdsservicesmipsel -rwxrwxr-x 1 1001 1001 4550920 May 31 14:23 pdsservicesppc