Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.13.0, 5.13.1
-
None
Description
The following configure code from src/corelib/configure.json:
"glib": { "label": "GLib", "test": { "head": "typedef struct _GMainContext GMainContext;", "main": [ "g_thread_init(NULL);", "(void) g_main_context_default();", "(void) g_source_new(0, 0);", "g_source_add_poll(NULL, NULL);" ] }, "headers": "glib.h", "sources": [ { "type": "pkgConfig", "args": "glib-2.0 gthread-2.0" } ] },
generates the following output...
Checking for GLib...
Trying source 0 (type pkgConfig) of library glib ...
+ /usr/bin/pkg-config --exists --silence-errors glib-2.0 gthread-2.0
+ /usr/bin/pkg-config --modversion glib-2.0 gthread-2.0
> 2.60.7
> 2.60.7
+ /usr/bin/pkg-config --libs-only-L glib-2.0 gthread-2.0
> -L/usr/local/lib
+ /usr/bin/pkg-config --libs-only-l glib-2.0 gthread-2.0
> -lgthread-2.0 -lintl -lglib-2.0
None of [libgthread-2.0.so libgthread-2.0.a] found in [/usr/local/lib] and global paths.
None of [libglib-2.0.so libglib-2.0.a] found in [/usr/local/lib] and global paths.
=> source produced no result.
test config.qtbase_corelib.libraries.glib FAILED
The error happens because libgthread-2.0.so and libglib-2.0.so cannot be found. In OpenBSD shared libraries always named like LIBlibname_VERSION for example
/usr/local/lib/libglib-2.0.so.4201.2
/usr/local/lib/libgthread-2.0.so.4200.9
/usr/local/lib/libicui18n.so.15.0
...
Is there a way to modify Qt's build-system to work/handel with the version pattern? I'm grateful for any help. I am porting Qt from 5.9 to 5.13 to OpenBSD. With version 5.9 we didn't have these problems.
Thank you in advance