[rhn-users] Q about building RPMs

Craig Aumann caumann at ualberta.ca
Sun Mar 13 16:47:55 UTC 2005


I'm trying to build an RPM from some code I download (the GRASS package
to be particular).  Everything builds fine etc., but when I do a test
install of the package I get the following errors:

[root at michelangelo i386]# rpm -ivh --test grass-6.0.0-1.i386.rpm
error: Failed dependencies:
        libgrass_D.so is needed by grass-6.0.0-1.i386
        libgrass_I.so is needed by grass-6.0.0-1.i386
        libgrass_Iortho.so is needed by grass-6.0.0-1.i386
.....


Which I find odd, because those libraries are all contained in the rpm
file  itself:

root at michelangelo i386]# rpm -qpl grass-6.0.0-1.i386.rpm
.....
/usr/local/grass-6.0.0/lib
/usr/local/grass-6.0.0/lib/libgrass_D.6.0.0.so
/usr/local/grass-6.0.0/lib/libgrass_D.so
/usr/local/grass-6.0.0/lib/libgrass_I.6.0.0.so
/usr/local/grass-6.0.0/lib/libgrass_I.so
/usr/local/grass-6.0.0/lib/libgrass_Iortho.6.0.0.so
/usr/local/grass-6.0.0/lib/libgrass_Iortho.so
...

So, what the hell have I done wrong?  I suspect something isn't set
right in the attached "spec" file, but I'll be damned if I can figure
out what. Are there any good references out there that people recommend
for RPM?  The one at http://www.redhat.com/docs/books/max-rpm/index.html
is 5 years old... 

Any thoughts are appreciated.

Thanks!
Craig
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: grass6.0.0.spec
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050313/7240c6e3/attachment.ksh>


More information about the rhn-users mailing list