Gnome won't compile: cannot find -lpcre

Justin C. Sherrill justin at shiningsilence.com
Tue Nov 27 05:29:57 PST 2007


On Tue, November 27, 2007 6:32 am, Stephane Russell wrote:
> Hi, I'm really having a hard time compiling gnome with pkgsrc 2007Q3.
> Most problems are minors, but I'm getting this one that's less obvious:
>
> /usr/libexec/binutils217/elf/ld: cannot find -lpcre
>
> The pcgr package is well installed and /usr/pkg/lib is added in the ld
> library list in /etc/rc.conf. It looks like this "ld" from binutils
> ignores it. Is there a different configuration for the binutils tools?
> I've upgraded from DF 1.8 to 1.10 by recompiling all my server.

I don't have an answer for why that isn't compiling for you, but for an
immediate fix:

pkg_add
http://pkgbox.dragonflybsd.org/packages/DragonFly-1.10.1/i386/x11/gtk2+-2.12.0nb1.tgz








More information about the Bugs mailing list