meinproc4 broke? ("version `GLIBCXX_3.4.5' not found")
mw_triad at users.sourceforge.net
Wed May 23 16:08:24 BST 2007
Thiago Macieira wrote:
> Matthew Woehlke wrote:
>> $ which gcc
>> Trust me, that's the compiler being used :-)
> Your meinproc was linked with the wrong gcc.
I did a 'make VERBOSE=1'... it's using the gcc I want to be using :-).
>> Anyway I've worked around it for now by adding
>> /usr/local/kde/gcc4/lib/gcc/i686-pc-linux-gnu/4.1.2 to my
>> LD_LIBRARY_PATH, but I'm still confused as to *why* I need to do this.
> 1) /usr/local/kde/gcc4/lib/gcc/i686-pc-linux-gnu/4.1.2 isn't in your RPATH
> and 2) /usr/lib/libstdc++.so.6 isn't suitable
> Given the path above, I doubt that CMake even knew about it. So it wasn't
> ever considered as an -L or rpath parameter.
I thought the linker set rpaths? If not, what do I need to do to tell
cmake to pay attention to the rpaths gcc knows about? (Would this
qualify as a cmake bug?)
"I can hear you / just barely hear you / I can just barely hear you"
-- "I Can Hear You", by They Might Be Giants
More information about the kde-core-devel