This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: undefined symbol: _ZNSo9_M_insertIdEERSoT_. How can I troubleshoot this ?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: gregthom <gregthom99 at yahoo dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sun, 21 Jun 2009 15:05:37 +0100
- Subject: Re: undefined symbol: _ZNSo9_M_insertIdEERSoT_. How can I troubleshoot this ?
- References: <24134465.post@talk.nabble.com>
2009/6/21 gregthom:
>
> Greetings
>
> I am working on ?a mandriva box and I have just compiled a shared lib but
> when I tried to load it and use it,
> I get this message : undefined symbol: _ZNSo9_M_insertIdEERSoT_. How can I
> troubleshoot this ?
Try running ldd on your shared lib. Ensure the dynamic linker knows
how to find the GCC runtime libraries, either via $LD_LIBRARY_PATH in
the environment or an RPATH in the library.
> I know this symbol is part of GCC,
Yes,
$ echo _ZNSo9_M_insertIdEERSoT_ | c++filt
std::basic_ostream<char, std::char_traits<char> >&
std::basic_ostream<char, std::char_traits<char>
>::_M_insert<double>(double)