Boost logo

Boost-Build :

Subject: Re: [Boost-build] error: Duplicate name of actual target: <pstage/lib>libboost_system.a
From: Seth Munholland (munholl_at_[hidden])
Date: 2015-08-13 15:28:03


Hi Everyone,

I figured it out. In case someone else runs into this problem; the issue
is that the cufflinks configure script was not properly linking to the
boost libraries. After running
apt-get install libboost-all-dev
to be sure I was up to date. Then I had to manually link the libraries
./configure LIBS="-lboost_system -lboost_thread -lboost_serialization"
That allowed the make to complete without error. I ran the test dataset
and it completed properly.

Thanks for your help Steven, you pointed me towards library issues which
led me to fix this. I owe you one!

Seth Munholland, B.Sc.
Department of Biological Sciences
Rm. 304 Biology Building
University of Windsor
401 Sunset Ave. N9B 3P4
T: (519) 253-3000 Ext: 4755

On Thu, Aug 13, 2015 at 1:55 PM, Seth Munholland <munholl_at_[hidden]>
wrote:

> Hi Steven,
>
> If I run:
> bjam --prefix=/genome/Apps/boost_1_53_0/install/ --with-system stage
> install
> I get no errors. So is there any way I can get a copy of boost installed
> that is statically linked? The program I need boost for (cufflinks)
> requires them to be static.
>
> Seth Munholland, B.Sc.
> Department of Biological Sciences
> Rm. 304 Biology Building
> University of Windsor
> 401 Sunset Ave. N9B 3P4
> T: (519) 253-3000 Ext: 4755
>
> On Wed, Aug 12, 2015 at 9:30 PM, Steven Watanabe <watanabesj_at_[hidden]>
> wrote:
>
>> 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
>>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>>
>
>



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