Boost logo

Boost :

Subject: Re: [boost] building a run-time static version
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-08-18 05:12:32


Lorenzo Bettini wrote:

> Hi
>
> I was trying to build a static version of the regex library (boost
> 1.39), issuing this command:
>
> ./bjam --build-dir=build_static --layout=system threading=single
> runtime-link=static link=static
>
> but I always get this error:
>
> error: link=shared together with runtime-link=static is not allowed
> error: such property combination is either impossible
> error: or too dangerious to be of any use
>
> but why is it trying to use link=shared when I explicitly specified
> link=static?

You must have an ICU installed, and Boost.Regex tries to use that automatically.
ICU only comes as shared library. You might wish to remove the ICU_PATH
setting in project-config.jam or whenever it's is made.

- Volodya


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