Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 18:24:36 +0100
From:      lolox <lolox@lolox.net>
To:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   libmap.conf
Message-ID:  <20131107182436.26f044c2@linux-ll0t.site>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi,

I switched to gcc4.6 recently, and I encountered a problem while
updating the cmake port:
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required
by /usr/ports/devel/cmake/work/cmake-2.8.12/Bootstrap.cmk/cmake not
found"

Before that, I followed a guide explaining what to do when updating gcc
that said to put at least:
Libstdc++.so.6 gcc46/libstdc++.so.6
in /etc/libmap.conf

But obviously, that didn't helped.
A 'locate libstdc++.so' gives me this: 
/usr/lib/libstdc++.so
/usr/lib/libstdc++.so.6
/usr/lib32/libstdc++.so
/usr/lib32/libstdc++.so.6
/usr/local/lib/compat/pkg/libstdc++.so.6
/usr/local/lib/gcc42/libstdc++.so
/usr/local/lib/gcc42/libstdc++.so.6
/usr/local/lib/gcc46/libstdc++.so
/usr/local/lib/gcc46/libstdc++.so.6
/usr/local/lib/gcc46/libstdc++.so.6-gdb.py

I tried to rename /usr/lib/libstdc++.so.6 just to try if it changed
anything, and, surprise! That WORKED!

So, my question is:
Isn't libmap.conf supposed to do the trick without doing this horrible
hack?

Did I miss anything?

Thanks in advance.

lolox



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20131107182436.26f044c2>