Frustration making an RPM package

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

 



Hi group,

I'm beating my head agains a rock here. I have a package I want to
create on a RH9 box using rpmbuild. The package contains an executable,
some libs and a coupld of documents, kinda like this...

/usr/bin/binary
/usr/lib/lib1.so.1.1.1
/usr/lib/lib2.so.2.2.2
/usr/lib/lib3.so.3.3.3
/usr/share/man/man1/binary.1.gz
/usr/doc/documents/doc1.txt
/usr/doc/documents/doc2.txt

I'm not making rpm do the source code build. I'm just supplying the
files in a subfolder "package-4.4.4" and letting rpmbuild make the
binary package from the resulting .tar.gz file of this collection of
files.

I started slow and make the first RPM build with only the binary. I then
added the man page and documents.

The libraries are giving me a problem.

rpmbuild -bb -vv gives me the following error:

Requires: /sbin/ldconfig libc.so.6 libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3)
libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgcc_s.so.1
libgcc_s.so.1(GCC_3.0) libm.so.6 libpthread.so.0
libpthread.so.0(GLIBC_2.0) libstdc++.so.5 libstdc++.so.5(CXXABI_1.2)
libstdc++.so.5(GLIBCPP_3.2)
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
D:      execv(/usr/lib/rpm/check-files) pid 25143
getOutputFrom(): Broken pipe
make: *** [shared-rpm] Error 1

Also, the rpmbuild procedure seems to copy the files to their destinaion
folders during the build process (e.g. "binary" actually ends up in the
/usr/bin folder on the build machine when I run "rpmbuild -vv -bb").

Any thoughts on what I'm doing wrong here?

Thanks.


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux