Boost package plans for Karmic

Thomas Jäger thjaeger at gmail.com
Wed Jun 17 02:09:30 BST 2009


Seriously, how hard would it have been to make a symlink from
/usr/lib/libboost_foo-mt to /usr/lib/libboost for each boost package?
That would have prevented 90% of the build failures and is obviously
safe since every single-threaded application is going to end up
linking against the multithreaded library anyway.  In any case, here's
the nasty hack that I'm using in my Makefile now to make sure my
program compiles across distributions.

BOOSTLIB = $(shell echo 'int main(int, char**) {}' | g++
-lboost_serialization -o /dev/null -xc++ - 2>/dev/null && echo
-lboost_serialization || echo -lboost_serialization-mt)

On Fri, May 29, 2009 at 4:03 AM, Luca Falavigna<dktrkranz at ubuntu.com> wrote:
> Scott, thanks for pointing this out!
>
> Scott Kitterman ha scritto:
>> libboost-dev is provided by boost (1.34) and boost-defaults (1.38.1).  The
>> archive version of the binary is 1.38.1.  This means that packages that depend
>> on the old (1.34) version of libboost-dev will likely fail to build.
>
> Is there any reference to look for input while managing such failures?
>
>
>
> --
>  . ''`.      Luca Falavigna
>  : :'  :  Ubuntu MOTU Developer
>  `. `'`     Debian Maintainer
>   `-      GPG Key: 0x86BC2A50
>
>
> --
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
>
>



More information about the ubuntu-devel mailing list