Hi Benoît!
Output from ldd $(which rtorrent)
linux-vdso.so.1 => (0x00007fff54fe5000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5
(0x00007f0fccb28000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007f0fcc8ff000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f0fcc6f9000)
libcurl.so.4 => /usr/lib/x86_64-linux-gnu/libcurl.so.4
(0x00007f0fcc48e000)
libtorrent.so.14 => /usr/local/lib/libtorrent.so.14
(0x00007f0fcc1b2000)
libxmlrpc_server.so.3 => /usr/local/lib/libxmlrpc_server.so.3
(0x00007f0fcbfab000)
libxmlrpc.so.3 => /usr/local/lib/libxmlrpc.so.3 (0x00007f0fcbd94000)
libxmlrpc_util.so.3 => /usr/local/lib/libxmlrpc_util.so.3
(0x00007f0fcbb90000)
libxmlrpc_xmlparse.so.3 => /usr/local/lib/libxmlrpc_xmlparse.so.3
(0x00007f0fcb983000)
libxmlrpc_xmltok.so.3 => /usr/local/lib/libxmlrpc_xmltok.so.3
(0x00007f0fcb767000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f0fcb460000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0fcb1dd000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f0fcafc7000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f0fcadab000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0fcaa23000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0fca81f000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11
(0x00007f0fca5eb000)
libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1
(0x00007f0fca3c1000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
(0x00007f0fca1b2000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
(0x00007f0fc9f62000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0fc9d59000)
libgssapi_krb5.so.2 =>
/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f0fc9b1a000)
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
(0x00007f0fc98c8000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x00007f0fc9501000)
librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0
(0x00007f0fc92e7000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f0fc90d0000)
libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
(0x00007f0fc8e0f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0fccd62000)
libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
(0x00007f0fc8b91000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
(0x00007f0fc897a000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f0fc8761000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3
(0x00007f0fc848d000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
(0x00007f0fc8263000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
(0x00007f0fc805f000)
libkrb5support.so.0 =>
/usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f0fc7e56000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f0fc7c53000)
libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3
(0x00007f0fc7a42000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
(0x00007f0fc782f000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007f0fc762c000)
As you can see it points to /usr/local/lib/libtorrent.so.14 which point to
/usr/local/lib/libtorrent.so.14.0.1 in the same directory.
I have /usr/lib/x86_64-linux-gnu/libtorrent.so.14 and it's pointing to
/usr/lib/x86_64-linux-gnu/libtorrent.so.14.0.4 but for an unknown reason
it's not linked correctly. Any idea on how to fix this?
Many thanks
Max
On Mon, Jun 25, 2012 at 11:38 PM, Benoît Knecht <[email protected]>wrote:
> Hi Max,
>
> Max Power wrote:
> > After uprading from rtorrent 0.8.9 (previous unstable version)
> > rtorrent is not able to start again with the error message:
> >
> > rtorrent: symbol lookup error: rtorrent: undefined symbol:
> _ZN7torrent11thread_base8m_globalE
> >
> > I have no clue what this means or what I could do against it.
>
> Can you please post the output of
>
> ldd $(which rtorrent)
>
> and see if it lists libtorrent.so.14? It should point to
> /usr/lib/x86_64-linux-gnu/libtorrent.so.14, so can you check if it
> exists on your system and links to libtorrent.so.14.0.4 in the same
> directory (and that the latter is readable)?
>
> Also, do you have multiarch-support installed?
>
> Cheers,
>
> --
> Benoît Knecht
>