Control: tags -1 + moreinfo unreproducible

On Wed, 10 May 2017 11:47:45 +0200
Christian Pietsch <cpietsch+deb...@uni-bielefeld.de> wrote:

> Package: sysbench
> Version: 0.4.12-1.2

> $ sysbench
> --version sysbench: error while loading shared libraries:
> libmysqlclient.so.18: cannot open shared object file: No such file or

> Versions of packages sysbench depends on:
> ii  libmariadbclient18  10.1.22-3

Unfortunately, I cannot reproduce these results. Sysbench runs as
expected with a normal user account:

--------------------------------------------------->8
debian@debian:~$ sysbench --version
sysbench 0.4.12
debian@debian:~$ apt-cache policy sysbench 
sysbench:
  Installed: 0.4.12-1.2
  Candidate: 0.4.12-1.2
  Version table:
 *** 0.4.12-1.2 500
        500 http://mirror.nl.leaseweb.net/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
debian@debian:~$ which sysbench
/usr/bin/sysbench
debian@debian:~$ ldd "$(which sysbench)"
        linux-vdso.so.1 (0x00007ffe3c1dd000)
        libmariadbclient.so.18 => 
/usr/lib/x86_64-linux-gnu/libmariadbclient.so.18 (0x00007fa1d47b7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa1d44b3000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fa1d4296000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa1d3ef8000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa1d3cde000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa1d3ad8000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007fa1d3756000)
        /lib64/ld-linux-x86-64.so.2 (0x0000564dd75bc000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007fa1d353f000)
--------------------------------------------------->8

As you can see, the sysbench executable in 0.4.12-1.2 isn't linked
against libmysqlclient; it uses and depends on libmariadbclient instead.

Your result seem to suggest you're running a different binary, that is
on the PATH for your normal user but not when using sudo; possibly from
0.4.12-1.1 or earlier that did in fact link against libmysqlclient.

Please verify along the lines of the output above and/or try to
reproduce the issue with a newly created regular user account.

Attachment: pgpZnGwpVGVgH.pgp
Description: OpenPGP digital signature

Reply via email to