Gentoo Archives: gentoo-user

From: Mike Civil <mike@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Major problems with libpcre / UTF8
Date: Thu, 15 Dec 2022 21:40:23
Message-Id: 0f839125-9bbd-a9c8-1a31-4d009d3fe773@duncodin.org
In Reply to: [gentoo-user] Major problems with libpcre / UTF8 by Walter Dnes
1 Not sure what your problem is but it looks like Glib is complaining, not
2 mc. Having unicode in your flags would seem to infer UTF-8 support but
3 I'm no expert.
4
5 There's an assumption that you've already run an emerge --sync, emerge
6 --update @world and a depclean and that you don't have any unusual
7 entries in package.mask, package.accept_keywords, or friends. Also that
8 you don't have any overlays that could be muddying the waters.
9
10 Then I'd try the following and check your pcre and glib libraries are
11 consistent.
12
13 # ldd /usr/bin/mc|egrep "glib|pcre"
14         libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0
15 (0x00007f6672c58000)
16         libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007f66728c7000)
17
18 # ls -l /usr/lib64/{libpcre2-8*,libglib-2*}
19 lrwxrwxrwx 1 root root      16 Dec 14 13:49 /usr/lib64/libglib-2.0.so ->
20 libglib-2.0.so.0
21 lrwxrwxrwx 1 root root      23 Dec 14 13:49 /usr/lib64/libglib-2.0.so.0
22 -> libglib-2.0.so.0.7400.3
23 -rwxr-xr-x 1 root root 1291352 Dec 14 13:50
24 /usr/lib64/libglib-2.0.so.0.7400.3
25 lrwxrwxrwx 1 root root      20 Dec 13 16:31 /usr/lib64/libpcre2-8.so ->
26 libpcre2-8.so.0.11.2
27 lrwxrwxrwx 1 root root      20 Dec 13 16:31 /usr/lib64/libpcre2-8.so.0
28 -> libpcre2-8.so.0.11.2
29 -rwxr-xr-x 1 root root  641544 Dec 13 16:31 /usr/lib64/libpcre2-8.so.0.11.2