[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] recursively call unit test executable
From:       Tim Blechmann via Boost-build <boost-build () lists ! boost ! org>
Date:       2018-11-04 18:31:46
Message-ID: 37431d15-bd1e-fb1e-9120-b6347f8b89aa () klingt ! org
[Download RAW message or body]

> > `std::system()` isn't able to resolve the dynamic libraries, so it fails
> > with:
> > > dyld: Library not loaded: libboost_chrono.dylib
> > > Referenced from: \
> > > /Users/tim/dev/boost/libs/lockfree/test/../../../bin.v2/libs/lockfree/test/queue \
> > > _interprocess_test.test/darwin-4.2.1/debug/threadapi-pthread/threading-multi/visibility-hidden/queue_interprocess_test
> > >                 
> > > Reason: image not found
[snip]
> The executable runs because DYLD_LIBRARY_PATH is set.
> Is this somehow not being inherited or is system() not
> respecting it?
> 
> Possible workarounds:
> - <hardcode-dll-paths>on or,
> - <link>static

actually i was using `hardcode-dll-paths`, but didn't have an effect ...
`static` linking works, will go that route ... thanks a lot!
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic