fix for net-p2p/libtorrent-rasterbar-16-python

Jeroen van der Ham jeroen at dckd.nl
Wed Feb 6 14:39:43 UTC 2013


Hi,

I've been working today on installing net-p2p/libtorrent-rasterbar-16-python
This finishes succesfully, but then trying to use it in Python does not work:

% python
Python 2.7.3 (default, Feb  6 2013, 14:35:59) 
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import libtorrent
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/libtorrent-rasterbar.so.7: Undefined symbol "libiconv"


I've been able to fix this by changing net-p2p/libtorrent-rasterbar-16 and adding "--with-libiconv" to CONFIGURE_ARGS.

Jeroen.



More information about the freebsd-ports mailing list