Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] libQt5Core.so.5 => not found
Date: Sat, 10 Nov 2018 14:02:22
Message-Id: CAJ1xhMUQVRLpcGBgVWkO6nEZWV_kRUPwj8B_UJhWGhF+AsaN=A@mail.gmail.com
In Reply to: [gentoo-user] libQt5Core.so.5 => not found by karl@aspodata.se
1 On Fri, Nov 9, 2018 at 1:33 PM <karl@××××××××.se> wrote:
2 >
3 > I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:
4 >
5 > # ldd /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
6 > linux-vdso.so.1 (0x00007fff3ddff000)
7 > libQt5Core.so.5 => not found
8 > libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
9 > /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
10 > # strings /etc/ld.so.cache | grep libQt5Core.so.5
11 > libQt5Core.so.5
12 > /usr/lib64/libQt5Core.so.5
13 > # ls -l /usr/lib64/libQt5Core.so.5*
14 > lrwxrwxrwx 1 root root 20 Nov 5 12:49 /usr/lib64/libQt5Core.so.5 -> libQt5Core.so.5.11.1
15 > lrwxrwxrwx 1 root root 20 Nov 5 12:49 /usr/lib64/libQt5Core.so.5.11 -> libQt5Core.so.5.11.1
16 > -rwxr-xr-x 1 root root 5351376 Nov 5 12:49 /usr/lib64/libQt5Core.so.5.11.1
17 >
18 > So why isn't it found ?
19 >
20 > Regards,
21 > /Karl Hammar
22 >
23 > -----------------------------------------------------------------------
24 > Aspö Data
25 > Lilla Aspö 148
26 > S-742 94 Östhammar
27 > Sweden
28 >
29 >
30 >
31
32 Seeing the actual build error message, rather then the output of ldd,
33 may contain information about the build environment, and other
34 information that might offer better clues as to what else might be
35 amiss.
36 Also, the output of 'strace /bin/qvkgen' will indicate what paths are
37 searched for libQt5Core.so.5.