[lug] A head scratcher for your weekend

Davide Del Vento davide.del.vento at gmail.com
Sat May 19 06:29:14 MDT 2018


Often a 32 vs 64 bit causes this problem. Try

file /usr/bin/mythbackend

file /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1

and make sure they are both 64 bit (assuming that the directory name
for libQt5Core.so is correct).

Also check LD_LIBRARY_PATH, RPATH, RUNPATH and /etc/ld.so.conf and
make sure there isn't another location with higher priority than
/usr/lib/x86_64-linux-gnu/ containing a file called libQt5Core.so.5
(which again, could have 32/64 bit mismatch or be a broken link or
something).

HTH
Davide

On Sat, May 19, 2018 at 5:28 AM, Matt Bidwell <mbidwell at gmail.com> wrote:
> Library is installed, program can find other libraries in that directory.
> Reinstalling or downgrading either the package or the library didn't fix
> it.... What could have happened to my system?
> # ls -alh /usr/lib/x86_64-linux-gnu/libQt5Core.so.5*
> lrwxrwxrwx 1 root root   20 May 12 07:03
> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.10.1
> lrwxrwxrwx 1 root root   20 May 12 07:03
> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10 -> libQt5Core.so.5.10.1
> -rw-r--r-- 1 root root 5.0M May 12 07:03
> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
>
> ldd /usr/bin/mythbackend
> ...
>         libQt5Script.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
> (0x00007f4eb42f8000)
>         libQt5Core.so.5 => not found
>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f4eb40d8000)
> ...
>
> This is very perplexing.
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety


More information about the LUG mailing list