[OE-core] [PATCH] db: Fix libtool linking against local libstdc++.so

Paul Barker paul at paulbarker.me.uk
Sat Jan 25 11:24:36 UTC 2014


On 25 January 2014 04:14, Tyler Hall <tylerwhall at gmail.com> wrote:
> Building the C++ bindings in a484b35b818768487ff27cf06b8c5d4e128126af
> introduced this error on systems with /usr/lib/libstdc++.so present:
>
>     /usr/lib/libstdc++.so: file not recognized: File format not recognized
>
> The shipped libtool is sysroot aware, so pass --with-sysroot so it will
> extract the sysroot from the compiler.
>
> Signed-off-by: Tyler Hall <tylerwhall at gmail.com>

This fixes the issue I was having, I can now build db without having
to revert the previous patch to enable C++ bindings.

Tested-by: Paul Barker <paul at paulbarker.me.uk>

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk



More information about the Openembedded-core mailing list