[Flac-dev] building package troubles
Matt Zimmerman
mdz at debian.org
Mon Nov 26 07:53:06 PST 2001
On Mon, Nov 26, 2001 at 09:13:28AM +0300, Andrey Astafiev wrote:
> > > when i try to build rpm package of 1.0.1 i get
> > > some error messages (in attach)... version 1.0
> > > with the same spec builds fine... any ideas?
> >
> > The problem is likely with your spec file;
> > send a copy to the list and I'll look at it.
>
> thanks, i've found the error by myself.
> there was export LDFLAGS="-L$RPM_BUILD_ROOT/usr/lib"
> missing. anyway, it's strange, because 1.0 with the same
> spec builds fine.
That shouldn't be necessary; libtool should handle it. Make sure you are
installing with DESTDIR=, and not prefix=. I see that mistake frequently in
RPM spec files.
--
- mdz
More information about the Flac-dev
mailing list