ld: library not found for -lboost_python-mt

Support for Deluge on Apple Mac OS
Post Reply
SoS

ld: library not found for -lboost_python-mt

Post by SoS »

Me needs help! Lots of it, from the length of Me errors.

System:

Code: Select all

Intel c2d
Mac OS X 10.5.5

XQuartz 2.3.1 (xorg-server 1.4.2-apple17)

Xcode Version 3.1.2
Component versions
Xcode IDE: 1149.0
Xcode Core: 1148.0
ToolSupport: 1102.0
Macports installed and updated.
All dependencies installed:

Code: Select all

bash-3.2# sudo port installed
The following ports are currently installed:
  apr @1.3.3_0 (active)
  atk @1.24.0_0 (active)
  boost @1.35.0_2+darwin_9
  boost @1.35.0_2+darwin_9+python25 (active)
  boost-build @2.0-m12_1 (active)
  boost-jam @3.1.16_0 (active)
  bzip2 @1.0.5_1 (active)
  cairo @1.8.4_0+macosx (active)
  dbus @1.2.4_2 (active)
  dbus-glib @0.76_1 (active)
  dbus-python25 @0.83.0_0+darwin_9 (active)
  desktop-file-utils @0.15_1 (active)
  expat @2.0.1_0 (active)
  fftw-3 @3.2_0 (active)
  fontconfig @2.6.0_0+macosx (active)
  freetype @2.3.7_3+macosx (active)
  gconf @2.24.0_0 (active)
  gettext @0.17_3 (active)
  glib2 @2.18.3_0+darwin_9 (active)
  gmake @3.81_0 (active)
  gnome-common @2.24.0_1 (active)
  gnome-mime-data @2.18.0_3 (active)
  gnome-vfs @2.24.0_0 (active)
  gperf @3.0.3_0 (active)
  gtk2 @2.14.4_1+x11 (active)
  imake @1.0.2_0 (active)
  intltool @0.40.5_0 (active)
  jasper @1.900.1_2+darwin_9 (active)
  jpeg @6b_3 (active)
  libart_lgpl @2.3.20_0 (active)
  libbonobo @2.24.0_0 (active)
  libcroco @0.6.1_1 (active)
  libglade2 @2.6.3_0 (active)
  libgsf @1.14.10_1 (active)
  libiconv @1.12_0 (active)
  libidl @0.8.11_0 (active)
  libpixman @0.12.0_1 (active)
  libpng @1.2.33_0 (active)
  librsvg @2.22.3_0 (active)
  libsigcxx2 @2.2.3_0 (active)
  libtorrent @0.12.2_0 (active)
  libxml2 @2.7.2_1+darwin_9 (active)
  libxslt @1.1.24_1+darwin_9 (active)
  ncurses @5.7_0 (active)
  ncursesw @5.7_0 (active)
  openssl @0.9.8i_0 (active)
  orbit2 @2.14.16_0 (active)
  p5-xml-parser @2.36_0 (active)
  pango @1.22.3_0 (active)
  perl5 @5.8.8_0+darwin_9
  perl5.8 @5.8.8_3+darwin_9 (active)
  pkgconfig @0.23_1 (active)
  popt @1.14_0 (active)
  py25-cairo @1.6.4_0+darwin_9 (active)
  py25-gobject @2.14.2_0+darwin_9 (active)
  py25-gtk @2.12.1_0+darwin_9 (active)
  py25-hashlib @2.5.2_0 (active)
  py25-nose @0.10.4_0 (active)
  py25-numeric @24.2_1+macosx (active)
  py25-numpy @1.2.1_0 (active)
  py25-setuptools @0.6c9_0 (active)
  py25-xdg @0.16_0 (active)
  py25-zlib @2.5.2_0 (active)
  python25 @2.5.2_7+darwin_9 (active)
  python_select @0.1_4+darwin_9 (active)
  render @0.9.2_0 (active)
  shared-mime-info @0.51_0 (active)
  tiff @3.8.2_2+darwin_9+macosx (active)
  XFree86 @4.7.0_0+macosx (active)
  Xft2 @2.1.13_0 (active)
  xorg-bigreqsproto @1.0.2_0 (active)
  xorg-cf-files @1.0.2_0 (active)
  xorg-inputproto @1.5.0_0 (active)
  xorg-kbproto @1.0.3_0 (active)
  xorg-libX11 @1.1.5_1 (active)
  xorg-libXau @1.0.4_0 (active)
  xorg-libXdmcp @1.0.2_0 (active)
  xorg-renderproto @0.9.3_0 (active)
  xorg-xcmiscproto @1.1.2_0 (active)
  xorg-xextproto @7.0.2_0 (active)
  xorg-xf86bigfontproto @1.1.2_0 (active)
  xorg-xproto @7.0.14_1 (active)
  xorg-xtrans @1.2.2_0 (active)
  xrender @0.9.4_1+macosx (active)
  zlib @1.2.3_2 (active)
Error I got:

Code: Select all

bash-3.2# sudo port install deluge
--->  Building deluge with target build
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_deluge/work/deluge-1.0.0" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: byte-compiling build/bdist.macosx-10.5-i386/egg/label/webui.py to webui.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/label/webui_config.py to webui_config.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/label/webui_pages.py to webui_pages.pyc
creating build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying Label.egg-info/PKG-INFO -> build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying Label.egg-info/SOURCES.txt -> build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying Label.egg-info/dependency_links.txt -> build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying Label.egg-info/entry_points.txt -> build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying Label.egg-info/top_level.txt -> build/bdist.macosx-10.5-i386/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
label.webui_pages: module references __file__
creating '../Label-0.1-py2.5.egg' and adding 'build/bdist.macosx-10.5-i386/egg' to it
removing 'build/bdist.macosx-10.5-i386/egg' (and everything under it)
running build
running build_py
running egg_info
writing deluge.egg-info/PKG-INFO
writing top-level names to deluge.egg-info/top_level.txt
writing dependency_links to deluge.egg-info/dependency_links.txt
writing entry points to deluge.egg-info/entry_points.txt
reading manifest file 'deluge.egg-info/SOURCES.txt'
writing manifest file 'deluge.egg-info/SOURCES.txt'
copying deluge/plugins/Blocklist-1.0-py2.5.egg -> build/lib.macosx-10.5-i386-2.5/deluge/plugins
copying deluge/plugins/Label-0.1-py2.5.egg -> build/lib.macosx-10.5-i386-2.5/deluge/plugins
running build_ext
building 'libtorrent' extension
gcc -L/opt/local/lib -bundle /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Python -I/opt/local/include -I/opt/local/include/boost build/temp.macosx-10.5-i386-2.5/./libtorrent/src/alert.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/assert.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/broadcast_socket.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/bt_peer_connection.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/connection_queue.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/create_torrent.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/disk_buffer_holder.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/disk_io_thread.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/entry.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/enum_net.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/error_code.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/escape_string.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/file.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/file_pool.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/file_storage.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/gzip.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/http_connection.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/http_parser.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/http_stream.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/http_tracker_connection.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/identify_client.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/instantiate_connection.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/ip_filter.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/lazy_bdecode.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/logger.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/lsd.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/magnet_uri.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/memdebug.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/metadata_transfer.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/natpmp.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/parse_url.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/pe_crypto.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/peer_connection.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/piece_picker.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/policy.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/session.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/session_impl.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/sha1.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/smart_ban.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/socks4_stream.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/socks5_stream.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/stat.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/storage.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/torrent.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/torrent_handle.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/torrent_info.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/tracker_manager.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/udp_socket.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/udp_tracker_connection.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/upnp.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/ut_metadata.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/ut_pex.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/web_peer_connection.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/GeoIP.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/closest_nodes.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/dht_tracker.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/find_data.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/node.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/node_id.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/refresh.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/routing_table.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/rpc_manager.o build/temp.macosx-10.5-i386-2.5/./libtorrent/src/kademlia/traversal_algorithm.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/alert.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/big_number.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/converters.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/datetime.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/docstrings.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/entry.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/extensions.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/filesystem.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/fingerprint.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/ip_filter.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/module.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/peer_info.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/peer_plugin.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/session.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/session_settings.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/torrent.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/torrent_handle.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/torrent_info.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/torrent_status.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/utility.o build/temp.macosx-10.5-i386-2.5/./libtorrent/bindings/python/src/version.o -lboost_filesystem-mt -lboost_date_time-mt -lboost_iostreams-mt -lboost_python-mt -lboost_thread-mt -lpthread -lssl -lz -o build/lib.macosx-10.5-i386-2.5/deluge/libtorrent.so
ld: library not found for -lboost_python-mt
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Error: Status 1 encountered during processing.
Wonder if theres anything I've possibly done wrong?
User avatar
jrabbit
Member
Member
Posts: 18
Joined: Tue Nov 11, 2008 6:59 am

Re: ld: library not found for -lboost_python-mt

Post by jrabbit »

What happens when you try to compile 1.0.x manually? It should 'see' all of the deps from macports, 1.0.0 is a bit old too :)
aarons
New User
New User
Posts: 3
Joined: Thu Jun 25, 2009 7:03 pm

Re: ld: library not found for -lboost_python-mt

Post by aarons »

When you install boost from macports, you need to install it with the +python25 argument. "port install boost +python25"

since it's already installed, you want to deactivate it first: "port deactivate boost"
Post Reply