10 Jun
2010
10 Jun
'10
8:32 p.m.
On 2010-06-10 16:58:44 +0200, Roland Bock said:
Kraus Philipp wrote:
Hi,
I try to use the bz2 and gzip iostreams from Boost 1.43 on my OSX Snow Leopard. The code is compiled without any errors, but the ld returns:
Undefined symbols: "boost::iostreams::detail::zlib_base::do_init(boost::iostreams::zlib_params const&, bool, void* (*)(void*, unsigned int, unsigned int), void (*)(void*, void*), void*)", referenced from: boost::iostreams::detail::zlib_compressor_impl<std::allocator<char>
::zlib_compressor_impl(boost::iostreams::zlib_params const&)in ncd.o [...]
Did you link with -lboost_iostreams?
I had recompiled Boost and now it works. Thx Phil