Hi folks, Its been a long time since i wrote, well this time i have a problem.
I was trying to compile the APT program. When i give the make command i get the following error.
================ Making all in methods make[1]: Entering directory `/home/thinrhino/rpm/apt-0.5.15cnc6/methods' /bin/sh ../libtool --mode=link g++ -g -O2 -o cdrom cdrom.o ../apt-pkg/libapt-pkg.la -lz -lbz2 g++ -g -O2 -o .libs/cdrom cdrom.o ../apt-pkg/.libs/libapt-pkg.so /usr/lib/librpm.so -L/usr/lib -L/usr/src/build/283083-i386/BUILD/rpm-4.2.1/zlib -L/usr/local/lib /usr/lib/librpmdb.so -lelf /usr/lib/librpmio.so /usr/lib/libbeecrypt.so -lrt -lpthread /usr/lib/libpopt.so -lm -ldl -lz -lbz2 -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: cannot find -lelf collect2: ld returned 1 exit status make[1]: *** [cdrom] Error 1 make[1]: Leaving directory `/home/thinrhino/rpm/apt-0.5.15cnc6/methods' make: *** [all-recursive] Error 1 ================
I also got the RPM package, but when i try to install it i get the following error: ================= [root@server rpm]# rpm -ivh apt-0.5.15cnc6-50.rhfc1.at.i386.rpm warning: apt-0.5.15cnc6-50.rhfc1.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2b error: Failed dependencies: /etc/apt/apt.conf is needed by apt-0.5.15cnc6-50.rhfc1.at /etc/apt/sources.list is needed by apt-0.5.15cnc6-50.rhfc1.at libapt-pkg = 1:0.5.15cnc6-50.rhfc1.at is needed by apt-0.5.15cnc6-50.rhfc1.at libapt-pkg-libc6.3-5.so.0 is needed by apt-0.5.15cnc6-50.rhfc1.at =================
Can somebody of you please throw some light on how to go about it.
Regards Aditya Laghate