On Tue, Aug 20, 2013 at 2:22 PM, Florian Weimer <fweimer(a)redhat.com> wrote:
On 08/20/2013 01:15 PM, Tadej Janež wrote:
>
> Inspecting the log files, I discovered that some BuildRequires pulled in
> the shapelib package, which then caused the build to fail with:
> "/usr/bin/ld: cannot find -lshp" since shapelib-devel was missing.
>
> Who should I blame:
> - the techne package which detected shapelib and tried to build against
> it, or
> - the package which introduced this dependency and/or did not also put
> in a Requires on shapelib-devel?
Probably the former.
In this case (and usually IME) it's the latter. -lshp was added to
plplotd.pc in plplot-devel-5.9.9-18.svn12474.fc20 but the
corresponding shapelib-devel package dep wasn't.