Re: g_string_insert_c: assertion 'pos <= string->len' failed
Chapman Flack <[email protected]> Fri, 11 Aug 2017 18:08:48 -0400
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <[email protected]> |
On 08/11/2017 05:30 PM, Chapman Flack wrote: >> GLib-CRITICAL **: g_string_insert_c: assertion 'pos <= string->len' failed > > This turns out to be a result of the RHEL box having both the > i686 and x86_64 versions of glib2 installed, and the Amanda build > finding the glibconfig.h header from the 32-bit one, but then getting > linked to the 64-bit library. > > Now to determine how that happened / how to prevent it. Simplest solution (for anyone running into the same issue) seems to be to prefix PKG_CONFIG_PATH=/usr/lib64/pkgconfig to the 'configure' command line. -Chap