public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] libQt5Core.so.5 => not found
@ 2018-11-09 11:33 karl
  2018-11-10  4:51 ` Adam Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: karl @ 2018-11-09 11:33 UTC (permalink / raw
  To: gentoo-user

I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:

# ldd /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
        linux-vdso.so.1 (0x00007fff3ddff000)
        libQt5Core.so.5 => not found
        libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
# strings /etc/ld.so.cache | grep libQt5Core.so.5
libQt5Core.so.5
/usr/lib64/libQt5Core.so.5
# ls -l /usr/lib64/libQt5Core.so.5*
lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5 -> libQt5Core.so.5.11.1
lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11 -> libQt5Core.so.5.11.1
-rwxr-xr-x 1 root root 5351376 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11.1

So why isn't it found ?

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] libQt5Core.so.5 => not found
  2018-11-09 11:33 [gentoo-user] libQt5Core.so.5 => not found karl
@ 2018-11-10  4:51 ` Adam Carter
  2018-11-10  4:55   ` Adam Carter
  2018-11-10  8:55 ` David Haller
  2018-11-10 14:01 ` Alexander Kapshuk
  2 siblings, 1 reply; 7+ messages in thread
From: Adam Carter @ 2018-11-10  4:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

On Fri, Nov 9, 2018 at 10:33 PM <karl@aspodata.se> wrote:

> I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:
>
> # ldd
> /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
>         linux-vdso.so.1 (0x00007fff3ddff000)
>         libQt5Core.so.5 => not found
>         libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
> # strings /etc/ld.so.cache | grep libQt5Core.so.5
> libQt5Core.so.5
> /usr/lib64/libQt5Core.so.5
> # ls -l /usr/lib64/libQt5Core.so.5*
> lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5 ->
> libQt5Core.so.5.11.1
> lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11
> -> libQt5Core.so.5.11.1
> -rwxr-xr-x 1 root root 5351376 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11.1
>
> So why isn't it found ?
>

Maybe its not in the library cache.  Try running ldconfig as root to see if
that fixes it.

[-- Attachment #2: Type: text/html, Size: 1325 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] libQt5Core.so.5 => not found
  2018-11-10  4:51 ` Adam Carter
@ 2018-11-10  4:55   ` Adam Carter
  2018-11-10 10:50     ` karl
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Carter @ 2018-11-10  4:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]

On Sat, Nov 10, 2018 at 3:51 PM Adam Carter <adamcarter3@gmail.com> wrote:

> On Fri, Nov 9, 2018 at 10:33 PM <karl@aspodata.se> wrote:
>
>> I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:
>>
>> # ldd
>> /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
>>         linux-vdso.so.1 (0x00007fff3ddff000)
>>         libQt5Core.so.5 => not found
>>         libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
>>         /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
>> # strings /etc/ld.so.cache | grep libQt5Core.so.5
>> libQt5Core.so.5
>> /usr/lib64/libQt5Core.so.5
>> # ls -l /usr/lib64/libQt5Core.so.5*
>> lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5 ->
>> libQt5Core.so.5.11.1
>> lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11
>> -> libQt5Core.so.5.11.1
>> -rwxr-xr-x 1 root root 5351376 Nov  5 12:49
>> /usr/lib64/libQt5Core.so.5.11.1
>>
>> So why isn't it found ?
>>
>
> Maybe its not in the library cache.  Try running ldconfig as root to see
> if that fixes it.
>

Sorry - you checked the cache. Does ldconfig -p show it?

For me;
ldconfig -p | grep libQt5Core.so.5
    libQt5Core.so.5 (libc6,x86-64, OS ABI: Linux 3.17.0) =>
/usr/lib64/libQt5Core.so.5

[-- Attachment #2: Type: text/html, Size: 1979 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] libQt5Core.so.5 => not found
  2018-11-09 11:33 [gentoo-user] libQt5Core.so.5 => not found karl
  2018-11-10  4:51 ` Adam Carter
@ 2018-11-10  8:55 ` David Haller
  2018-11-10 10:50   ` karl
  2018-11-10 14:01 ` Alexander Kapshuk
  2 siblings, 1 reply; 7+ messages in thread
From: David Haller @ 2018-11-10  8:55 UTC (permalink / raw
  To: gentoo-user

Hello,

On Fri, 09 Nov 2018, karl@aspodata.se wrote:
>I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:
>
># ldd /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
>        linux-vdso.so.1 (0x00007fff3ddff000)
>        libQt5Core.so.5 => not found
>        libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
>        /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
># strings /etc/ld.so.cache | grep libQt5Core.so.5
>libQt5Core.so.5
>/usr/lib64/libQt5Core.so.5
># ls -l /usr/lib64/libQt5Core.so.5*
>lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5 -> libQt5Core.so.5.11.1
>lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11 -> libQt5Core.so.5.11.1
>-rwxr-xr-x 1 root root 5351376 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11.1
>
>So why isn't it found ?

Are you using a kernel <3.15?

Found this at <https://bbs.archlinux.org/viewtopic.php?id=232682>:
    "Qt 5.10 uses the renameat2 system call which is only available
    since kernel 3.15."

The error-message of ld et.al. is rather weird and misleading though.

HTH,
-dnh

-- 
printk(KERN_CRIT "How did I get here?\n");
	linux-2.6.19/arch/mips/kernel/syscall.c


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] libQt5Core.so.5 => not found
  2018-11-10  4:55   ` Adam Carter
@ 2018-11-10 10:50     ` karl
  0 siblings, 0 replies; 7+ messages in thread
From: karl @ 2018-11-10 10:50 UTC (permalink / raw
  To: gentoo-user

Adam Carter:
> On Sat, Nov 10, 2018 at 3:51 PM Adam Carter <adamcarter3@gmail.com> wrote:
> > On Fri, Nov 9, 2018 at 10:33 PM <karl@aspodata.se> wrote:
> >> I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:
> >> # ldd
> >> /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
> >>         linux-vdso.so.1 (0x00007fff3ddff000)
> >>         libQt5Core.so.5 => not found
> >>         libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
> >>         /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
...
> >> So why isn't it found ?
...
> Sorry - you checked the cache. Does ldconfig -p show it?
> 
> For me;
> ldconfig -p | grep libQt5Core.so.5
>     libQt5Core.so.5 (libc6,x86-64, OS ABI: Linux 3.17.0) =>
> /usr/lib64/libQt5Core.so.5

Same:

# ldconfig -p | grep libQt5Core.so.5
        libQt5Core.so.5 (libc6,x86-64, OS ABI: Linux 3.17.0) => /usr/lib64/libQt5Core.so.5

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] libQt5Core.so.5 => not found
  2018-11-10  8:55 ` David Haller
@ 2018-11-10 10:50   ` karl
  0 siblings, 0 replies; 7+ messages in thread
From: karl @ 2018-11-10 10:50 UTC (permalink / raw
  To: gentoo-user

David Haller:
> On Fri, 09 Nov 2018, karl@aspodata.se wrote:
> >I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:
> >
> ># ldd /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
> >        linux-vdso.so.1 (0x00007fff3ddff000)
> >        libQt5Core.so.5 => not found
> >        libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
> >        /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
...
> >So why isn't it found ?
> 
> Are you using a kernel <3.15?
> 
> Found this at <https://bbs.archlinux.org/viewtopic.php?id=232682>:
>     "Qt 5.10 uses the renameat2 system call which is only available
>     since kernel 3.15."

Ok, 3.12.8 here, I'll see if an upgrade will cure it.

> The error-message of ld et.al. is rather weird and misleading though.

Yes.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] libQt5Core.so.5 => not found
  2018-11-09 11:33 [gentoo-user] libQt5Core.so.5 => not found karl
  2018-11-10  4:51 ` Adam Carter
  2018-11-10  8:55 ` David Haller
@ 2018-11-10 14:01 ` Alexander Kapshuk
  2 siblings, 0 replies; 7+ messages in thread
From: Alexander Kapshuk @ 2018-11-10 14:01 UTC (permalink / raw
  To: Gentoo mailing list

On Fri, Nov 9, 2018 at 1:33 PM <karl@aspodata.se> wrote:
>
> I'm trying to build/emerge dev-qt/qtgui-5.11.1, but I get this:
>
> # ldd /Net/portage_tmpdir/portage/dev-qt/qtgui-5.11.1/work/qtbase-everywhere-src-5.11.1/bin/qvkgen
>         linux-vdso.so.1 (0x00007fff3ddff000)
>         libQt5Core.so.5 => not found
>         libc.so.6 => /lib64/libc.so.6 (0x00007f697dbd8000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f697e1f5000)
> # strings /etc/ld.so.cache | grep libQt5Core.so.5
> libQt5Core.so.5
> /usr/lib64/libQt5Core.so.5
> # ls -l /usr/lib64/libQt5Core.so.5*
> lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5 -> libQt5Core.so.5.11.1
> lrwxrwxrwx 1 root root      20 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11 -> libQt5Core.so.5.11.1
> -rwxr-xr-x 1 root root 5351376 Nov  5 12:49 /usr/lib64/libQt5Core.so.5.11.1
>
> So why isn't it found ?
>
> Regards,
> /Karl Hammar
>
> -----------------------------------------------------------------------
> Aspö Data
> Lilla Aspö 148
> S-742 94 Östhammar
> Sweden
>
>
>

Seeing the actual build error message, rather then the output of ldd,
may contain information about the build environment, and other
information that might offer better clues as to what else might be
amiss.
Also, the output of 'strace /bin/qvkgen' will indicate what paths are
searched for libQt5Core.so.5.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-10 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-09 11:33 [gentoo-user] libQt5Core.so.5 => not found karl
2018-11-10  4:51 ` Adam Carter
2018-11-10  4:55   ` Adam Carter
2018-11-10 10:50     ` karl
2018-11-10  8:55 ` David Haller
2018-11-10 10:50   ` karl
2018-11-10 14:01 ` Alexander Kapshuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox