Ok, I should have read the rest of the posts before replying. I changed a line in misc/rpmtools.pm from rep/misc/rpm2header to /usr/bin/rpm2header and it worked for me also.

Thanks,
Pete

Pete wrote:
[EMAIL PROTECTED]">I am using rpm-3.0.5-27mdk.

I thought about the rpm2header being linked with rpm4 and so I downloaded the mkcd.pl script from the Linux-Mandrake website and tried to run it out of a different directory, but it also loads everything from rep$/misc, so it has the same problem.

Is it a dynamic linking problem? Could we get a statically linked version of rpm2header? Or do I need to try to get rpm4 on my 7.2 box?

I would rather not try the latter, as rpm4 is linked with glibc2.2 and I actually do use the 7.2 box and don't want to mess that much with it.

Thanks again,
Pete

Warly wrote:
[EMAIL PROTECTED]">
Pete <[EMAIL PROTECTED]> writes:

I am now having a problem with it, however. It may be my system, but
here is what is happening. Using Mandrake 7.2, rpmtools-1.2-11mdk,
mkcd.pl 0.1.8. When I run mkcd.pl as root (or as user for that
matter), I get an error about librpmio.so.0:


[root@mybox: download]# perl mkcd.pl /home/ftp/pub/cooker/cooker
/home/ftp/pub/

/home/ftp/pub/cooker/cooker/misc/rpm2header: error in loading shared
libraries: librpmio.so.0: cannot open shared object file: No such file
or directory

bad rpm
/home/ftp/pub/cooker/cooker/Mandrake/RPMS/AfterStep-1.8.8-1mdk.i586.rpm


I am assuming I am missing librpmio.so.0, but which package provides
! this? Also, I have made .iso's before on this same box and can't
figure out what changed.


Which version of rpm have you on your system ?





Reply via email to