Opened 7 years ago

Closed 7 years ago

#2950 closed bug (WorksForMe)

libtorrent error undefined symbol: _ZN5boost4asio2ip10address_v4C1ERKNS_5arrayIhLm4EEE

Reported by: Oswald Owned by:
Priority: critical Milestone: needs verified
Component: libtorrent Version: 1.3.13
Keywords: Cc: Oswald

Description (last modified by Cas)

Deluge version :1.3.13-0, Python version: 2.7.6, Operating System : Mint 17.1 rebecca, Kernel: x86_64 Linux 3.13.0-37-generic WebUI:1.3.13-0, Plugins : no, Language : russian, installation method: mintInstall 7.6.0

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 349, in _on_reactor_start
    client.start_classic_mode()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 559, in start_classic_mode
    self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 432, in __init__
    self.__daemon = deluge.core.daemon.Daemon(classic=True)
  File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 141, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 36, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: /usr/lib/python2.7/dist-packages/libtorrent.so: undefined symbol: _ZN5boost4asio2ip10address_v4C1ERKNS_5arrayIhLm4EEE

Change History (10)

comment:1 follow-up: Changed 7 years ago by Cas

This is a build issue with libtorrent

comment:2 in reply to: ↑ 1 Changed 7 years ago by Oswald

Replying to Cas:

This is a build issue with libtorrent

Maybe. Please tell me how to fix this bug.

comment:3 Changed 7 years ago by junker12321

Hi, I am also having this issue. It just seems to have stopped working after an apt-get upgrade last week sometime.

Deluge version :1.3.13-0, Python version: 2.7.6, OS: Ubuntu 14.04.5 LTS, Kernel: Linux 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux WebUI: 1.3.13-0~trusty~ppa1

Contents of daemon.log

[INFO    ] 19:39:55 daemon:124 Deluge daemon 1.3.13
[DEBUG   ] 19:39:55 daemon:125 options: {'profile': False, 'read_only_config_keys': None, 'loglevel': 'debug', 'quiet': False, 'ui_interface': None, 'listen_interface': None, 'logfile': '/var/log/deluge/daemon.log', 'config': None, 'port': None, 'pidfile': None, 'donot': True}
[DEBUG   ] 19:39:55 daemon:126 args: []
[ERROR   ] 19:39:55 main:245 /usr/lib/python2.7/dist-packages/libtorrent.so: undefined symbol: _ZN5boost4asio2ip10address_v4C1ERKNS_5arrayIhLm4EEE
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 238, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 141, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 36, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: /usr/lib/python2.7/dist-packages/libtorrent.so: undefined symbol: _ZN5boost4asio2ip10address_v4C1ERKNS_5arrayIhLm4EEE

comment:4 Changed 7 years ago by kars85

Having the exact same issue - waiting for status update. Rebuilt from source, and still getting error on Ubuntu 14.04.

comment:5 Changed 7 years ago by Cas

You need to report the libtorrent package to launchpad bug tracker.

If you can also test building libtorrent from source that would be helpful

comment:6 follow-up: Changed 7 years ago by Cas

Actually what version of libtorrent are you using?

comment:7 in reply to: ↑ 6 Changed 7 years ago by kars85

Replying to Cas:

Actually what version of libtorrent are you using?

Deluge version :1.3.13, Python version: 2.7.6, I can't get the libtorrent version because when I check, I get this:

user@server:~$ python -c "import libtorrent; print libtorrent.version"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib/python2.7/dist-packages/libtorrent.so: undefined symbol: _ZN5boost4asio2ip10address_v4C1ERKNS_5arrayIhLm4EEE

I've also compiled libtorrent from source as shown in the wiki here, which is currently 1.0.10, but the issue persists.

Version 0, edited 7 years ago by kars85 (next)

comment:8 Changed 7 years ago by Cas

Ok thanks for checking that, I shall verify and report upstream

comment:9 Changed 7 years ago by kars85

Hi Cas,

I was able to build libtorrent from source from http://dev.deluge-torrent.org/wiki/Building/libtorrent now that I found where I was messing up on Step 5, option 1. I was Ctrl+C'ing out of that sudo checkinstall command after entering it and it wasn't building completely. After letting it finish by hitting Enter, libtorrent built successfully and was able to launch Deluge.

Thanks for the follow-up, nonetheless. Happy New Year!

comment:10 Changed 7 years ago by Cas

  • Component changed from GTK UI to libtorrent
  • Description modified (diff)
  • Resolution set to WorksForMe
  • Status changed from new to closed
  • Summary changed from Critical Bug to libtorrent error undefined symbol: _ZN5boost4asio2ip10address_v4C1ERKNS_5arrayIhLm4EEE

Good to know you fixed it.

For reference I created an upstream ticket https://github.com/arvidn/libtorrent/issues/1466

Note: See TracTickets for help on using tickets.