Boost logo

Boost Users :

Subject: Re: [Boost-users] bz2 & gzip support - ld can't find symboles
From: Roland Bock (rbock_at_[hidden])
Date: 2010-06-10 10:58:44


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?

Regards,

Roland


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net