|
Boost Users : |
Subject: Re: [Boost-users] bz2 & gzip support - ld can't find symboles
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2010-06-10 16:32:26
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
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