[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Relocatable package problem



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).

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
---------------------------------------------------------

But when i try installing it somewhere by giving 
rpm -i -vv --prefix /tmp/deepesh ACElib-1.0-1.i386.rpm
it fails saying that the package is not-relocatable :(

Even the command 
rpm -qp --queryformat '%{DEFAULTPREFIX}\n' TAOlib-1.0-1.i386.rpm 
gives error "unknown tag"

TIA,
Deepesh.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]