Boost logo

Boost :

Subject: Re: [boost] compiling Boost boost_1_45_0 regex with icu (redhat). Aproblem and its fix.
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-01-04 12:32:32


> The question is: is this the correct approach? Thanks,

No the problem is that the list of libraries that ICU needs to link against
is platform specific - that code would certainly break on Windows for
example where there is no dl.lib (and no dlopen function either). I could
add -ldl to the command line on specific platforms I guess - Linux anyway -
but ultimately I think this may best be solved by the user adding
linkflags=-ldl to the command line.

HTH, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk