Boost logo

Boost-Build :

Subject: Re: [Boost-build] error: Duplicate name of actual target: <pstage/lib>libboost_system.a
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-08-12 21:30:56


AMDG

On 08/11/2015 11:35 AM, Seth Munholland wrote:
>
> If this is a duplicate issue, I apologize, I couldn't find anything on
> google specifically addressing my issue. I also tried sending it before
> properly subscribing to the mailing list, that would be my bad on
> duplicating.
>
> I need to use a program that requires installing the boost libraries
> statically linked at runtime. my command is:
>
> bjam --prefix=/genome/Apps/boost_1_53_0/install --toolset=gcc
> architecture=x86 address-model=64 link=static runtime-link=static stage
> install
>
> and the output I get is:
>
> <snip>
> /genome/Apps/boost_1_53_0/tools/build/v2/build/virtual-target.jam:1079: in
> virtual-target.register-actual-name from module virtual-target
> error: Duplicate name of actual target: <pstage/lib>libboost_system.a
>

Does it work if you use just --with-system?
If so then the problem is that some library
that depends on Boost.System is forcing
runtime-link=shared.

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk