[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



Hi Lisandro,

On Wed, May 30, 2018 at 11:21:33PM -0300, Lisandro Damián Nicanor Pérez Meyer wrote:
> El miércoles, 30 de mayo de 2018 06:36:08 -03 Ervin Hegedüs escribió:
> > Hi there,
> 
> Hi! Sorry for the late reply.

no problem, thanks for the 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

thanks, I'll check,
 
> > 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.

sure,
 
> > $ 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.

no, I didn't cutted the list, that's the full.
 
> Please send the output of running:
> 
>   $ file /usr/lib/qt5/bin/uic

$ file /usr/lib/qt5/bin/uic
/usr/lib/qt5/bin/uic: ELF 64-bit LSB pie executable x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=f9eab9e76b602a5e3d1c32de9d98c2dcb9544b25, stripped

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

no,

$ cat /etc/apt/sources.list
deb http://http.debian.net/debian sid main
deb-src http://http.debian.net/debian sid main

that's all. And all packages (except what I build :)) comes from
that repo.

And some addition info:

$ which uic
/usr/bin/uic
$ 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
$ ldd /usr/bin/uic
	linux-vdso.so.1 (0x00007ffc3e9b0000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f39ab704000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f39ab371000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f39ab159000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f39aad9f000
	/lib64/ld-linux-x86-64.so.2 (0x00007f39abc90000)
$ file /usr/bin/uic
/usr/bin/uic: symbolic link to qtchooser
$ file /usr/bin/qtchooser 
/usr/bin/qtchooser: ELF 64-bit LSB pie executable x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=ae993785b6c2819d4e0540e80568f55a9b2396e6, stripped
$ ldd /usr/bin/qtchooser 
	linux-vdso.so.1 (0x00007ffcc29af000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f71a26ac000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f71a2319000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f71a2101000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f71a1d47000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f71a2c38000)

I've tried to reinstall qtbase5-dev-tools and qtbase5-dev
packages (--purge --force-all, apt clean, apt install ...), but
same results...



Thanks again for your help.


a.
 


Reply to: