[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qtbase5-dev-tools BUG - error while loading shared libraries: libQt5Core.so.5



El miércoles, 30 de mayo de 2018 06:36:08 -03 Ervin Hegedüs escribió:
> Hi there,

Hi! Sorry for the late reply.
 
> I'ld like to build a new package for Debian (I'm a Debian
> Maintainer, member of Debian Hamradio group), which uses Qt.

Just for the record: be sure to check

  https://qt-kde-team.pages.debian.net/packagingqtbasedstuff.html

> I've run this problem:
> 
> $ /usr/lib/qt5/bin/uic -V
> /usr/lib/qt5/bin/uic: error while loading shared libraries: libQt5Core.so.5:
> cannot open shared object file: No such file or directory

OK, that's weird.

> $ ldd /usr/lib/qt5/bin/uic
> 	linux-vdso.so.1 (0x00007fffebbeb000)
> 	libQt5Core.so.5 => not found
> 	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f15f16ab000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
> (0x00007f15f12f1000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
> (0x00007f15f0f5e000) /lib64/ld-linux-x86-64.so.2 (0x00007f15f1cb8000)
> 	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f15f0d46000)

On my system, up to date sid:

$ ldd /usr/lib/qt5/bin/uic
        linux-vdso.so.1 (0x00007fff145a9000)
        libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007ff5c9741000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff5c93c0000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff5c9006000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff5c8de8000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff5c8bca000)
        libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007ff5c8729000)
        libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007ff5c8372000)
        libpcre2-16.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007ff5c80fb000)
        libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007ff5c7eea000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff5c7ce6000)
        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007ff5c79d0000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff5c763d000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff5c7425000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff5ca0cc000)
        libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007ff5c587c000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007ff5c560a000)

So, except you cutted down the list, your dependencies seems to be quite less.

Please send the output of running:

  $ file /usr/lib/qt5/bin/uic

Have you ever installed Qt from another source? Ie, not from packages.
 
Cheers, Lisandro.

-- 
Theory and practice sometimes clash. And when that happens, theory loses.
Every single time.
  Linus Benedict Torvalds.

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: