I successfully build a static ntpdate executable for severn which I load with wget and run inside a %pre script. Here my procedure : download ntp and libcap SRPMS (apt-get source ntp libcap) # rpmbuild --recompile libcap-1.10-16.src.rpm # cd /usr/src/redhat/BUILD/libcap-1.10/libcap/ # gcc -c -Dlinux -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I../include *.c # ar cru libcap.a *.o # ranlib libcap.a # rpmbuild --recompile ntp-4.1.2-1.rc3.4.src.rpm (you need libtool and automake, apt-get install libtool automake ) # cd /usr/src/redhat/BUILD/ntp-4.1.1c-rc2/ntpdate # make # cp /usr/src/redhat/BUILD/libcap-1.10/libcap/libcap.a . # gcc -static -g -DDEBUG -Wall -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -pipe -o ntpdate ntpdate.o version.o ../libntp/libntp.a libcap.a -lreadline -lcurses # strip ntpdate ---- %pre wget -O /tmp/ntpdate http://"IP number of your http server"/.../ntpdate chmod +x /tmp/ntpdate /tmp/ntpdate "IP number of your NTP server"