devel/boost-python-libs compiled with gcc 4.5.1 causes link error

Doug Barton dougb at
Sun Jun 27 00:56:18 UTC 2010


I'm working on compiling the python bindings for
net-p2p/libtorrent-rasterbar-15 and compiled devel/boost-python-libs as
a dependency for that. When compiled with gcc 4.5.1
the boost-python-libs give the following linker error when trying to
build the libtorrent python bindings:

configure:18063: cc -o conftest -D_THREAD_SAFE -pthread -pipe -g -g
-I/usr/local/include  -pthread -L/usr/local/lib  -rpath
=/usr/lib:/usr/local/lib -L/usr/local/lib/python2.6/config -lpython2.6
conftest.c -lboost_python    >&5
/usr/local/lib/ undefined reference to
`_ZNSt15_List_node_base7_M_hookEPS_ at GLIBCXX_3.4.14'
configure:18063: $? = 1

The full log is available at

When the boost-python-libs are compiled with gcc 4.2.1 (the default in
-current) I can compile the libtorrent bindings with either version of gcc.

Let me know if there is any other information you need.



	... and that's just a little bit of history repeating.
			-- Propellerheads

	Improve the effectiveness of your Internet presence with
	a domain name makeover!

More information about the freebsd-ports mailing list