今天在linux底下要安裝named,要把所有的library全部打包成一包
./configure -LDFLAGS=-static
一直顯示gcc錯誤,原來是少了gcc的static library,所以要先安裝
glibc-static.x86_64 : C library static libraries for -static linking.(系統的static library)
yum install glibc-static.x86_64
之後即可編譯成功
./configure -LDFLAGS=-static
一直顯示gcc錯誤,原來是少了gcc的static library,所以要先安裝
glibc-static.x86_64 : C library static libraries for -static linking.(系統的static library)
yum install glibc-static.x86_64
之後即可編譯成功