I'm using RPM 4.2. I tried the following combination, but still failed :( ---------------------------------------- Prefix: /users/venkatsr/ACE/ACE_wrappers/ace %files #some README files if required %{prefix}/libACE.so.5.3a.1 ---------------------------------------- Error it throws: error: File must begin with "/": %{prefix}/libACE.so.5.3a.1 Now if i tweek my spec for the above error ------------------------------------------- Prefix: users/venkatsr/ACE/ACE_wrappers/ace %files /%{prefix}/libACE.so.5.3a.1 ------------------------------------------- Error it throws: error: File not found: /%{prefix}/libACE.so.5.3a.1 though the file very much exists in /users/venkatsr/ACE/ACE_wrappers/ace/libACE.so.5.3a.1 Any clues? Regards, Deepesh. -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx]On Behalf Of James Olin Oden Sent: Friday, August 06, 2004 4:27 PM To: RPM Package Manager Subject: Re: Relocatable package problem On Fri, 6 Aug 2004, Agarwal Deepesh-A19519 wrote: > Hi, > > I'm building a relocateable package as http://www.rpm.org/max-rpm/s1-rpm-reloc-prefix-tag.html . I'm trying to package a library (libACE). > What version of rpm are you using. With 4.2 I do relocatable packages all the time. You are setting your Prefix, and using that int he package, so it looks like your doing the right thing. > My .spec file looks like > -------------------------------------------- > Provides: libACE.so.5.3a.1 > Prefix: /users/venkatsr/ACE/ACE_wrappers/ace > > %prep > > %build > > %install > > %files > /users/venkatsr/ACE/ACE_wrappers/ace/libACE.so.5.3a.1 > --------------------------------------------------------- > OT, so if I wanted to provide ace libraries to an app is this the only file I need? We build ace at my work also (only its not relocatable), but I end up packaging up lots more than that, but only because I really don't know what the absolute minimum is. Cheers...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list