[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Rebuilding Without Dependencies
- From: Chuck Wolber <chuckw quantumlinux com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: RE: Rebuilding Without Dependencies
- Date: Wed, 15 Feb 2006 13:01:12 -0800 (PST)
You would think that would be the case. Alas, it's not even close. I have
so thoroughly patched bzip2 out of the source code and Make infrastructure
that the following command results in literally no hits referring to bzip2
in any way shape or form:
find rpm-4.3.3/ -exec grep -i bz {} \;
The following are the only "-L" lines in the Makefile (after the
./configure part is run):
LDFLAGS_NPTL = -L/usr/lib/nptl
LIBS = -lrt -lpthread -L/usr/local/lib -lz
staticLDFLAGS = -all-static -L/usr/lib/npt
I also thought that perhaps it was a generic wildcard that libtool was
picking up on. I can't see how though, there a ton of libraries in
/usr/lib (the directory where libbz2 can be found) but it ignored almost
all of them.
..Chuck..
On Wed, 15 Feb 2006, Stanley, Jon wrote:
> There are probably some -L lines in order to include it in the Makefile.
>
>
> -----Original Message-----
> From: rpm-list-bounces redhat com [mailto:rpm-list-bounces redhat com]
> On Behalf Of Chuck Wolber
> Sent: Wednesday, February 15, 2006 2:50 PM
> To: RPM Package Manager
> Subject: Re: Rebuilding Without Dependencies
>
> On Wed, 15 Feb 2006, Chuck Wolber wrote:
>
> > Attempting to force an error message (and thereby trace where it's
> > being linked in during the build process), I temporarily removed
> > /usr/lib/libbz2* and did the compile. Only then was I able to build an
>
> > rpm binary that did not require libbz2. Obviously that's a horribly
> > ugly hack and I don't want to go that route.
>
> I should also add that I never saw any sort of error message during the
> build when I removed /usr/lib/libbz2*.
--
http://www.quantumlinux.com
Quantum Linux Laboratories, LLC.
ACCELERATING Business with Open Technology
"The measure of the restoration lies in the extent to which we apply
social values more noble than mere monetary profit." - FDR
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]