[Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE

[email protected] Mon, 22 Jun 2026 23:48:15 +0000
Newsgroups gmane.os.freebsd.devel.emulation
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291390

--- Comment #30 from Alexey Shuvaev <[email protected]> ---
(In reply to Sulev-Madis Silber from comment #29)
I also have both versions of pcre:
> pkg info | grep pcre
> pcre-8.45_4                    Perl Compatible Regular Expressions library
> pcre2-10.47_1                  Perl Compatible Regular Expressions librar=
y, version 2

libpcre2-8 is the new one (2-10 actually):
> pkg-config --libs libpcre2-8
> -L/usr/local/lib -lpcre2-8

The libraries are installed in the system:
> ls /usr/local/lib/libpcre2-8.*
> /usr/local/lib/libpcre2-8.a         /usr/local/lib/libpcre2-8.so.0
> /usr/local/lib/libpcre2-8.so        /usr/local/lib/libpcre2-8.so.0.15.0

Most importantly, the linking works:
> cc -o test `pkg-config --cflags --libs glib-2.0 --libs libpcre2-8` test.c

> pkg-config --cflags --libs glib-2.0 --libs libpcre2-8
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/lo=
cal/include -L/usr/local/lib -lglib-2.0 -lintl -lpcre2-8

Check that you and the system linker can find libpcre2-8.so!

--=20
You are receiving this mail because:
You are the assignee for the bug.=