[cfe-dev] build issues with c++ code on OpenBSD

Dimitry Andric dimitry at andric.com
Mon Jul 26 15:16:22 PDT 2010

On 2010-07-27 00:11, Vladimir Kirillov wrote:
> While clang++ builds example C++ code (using some stl) just fine
> (using includes and libstdc++ from gcc 4.2.4), it bails out with a
> bunch of 'undefined references' at link time on OpenBSD (OS X is just
> fine with same flags)
> /usr/bin/ld: warning: libc.so.55.0, needed by /usr/local/lib/libestdc++.so.11.0, may conflict with libc.so.56.0

This looks really suspicious, it is some sort of locally installed
libstdc++?  Try removing the package that installed it, and using the
system's libstdc++ instead.

More information about the cfe-dev mailing list