On 09/09/2014 19:36, Joseph wrote:
I was installing an application gimp and all of a sudden I got an error:

Emerging (7 of 8) media-gfx/gimp-2.8.10-r1
* gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
...
[ ok ]
* gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-)
...
[ ok ]
cfg-update-1.8.2-r1: Creating checksum index...
Unpacking source...
Unpacking gimp-2.8.10.tar.bz2 to
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Unpacking gimp-2.8.10-freetype251.patch to
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring.
Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Preparing source in
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
* Applying gimp-2.7.4-no-deprecation.patch
...
[ ok ]
* Applying gimp-2.8.10-freetype251.patch
...
[ ok ]
* Applying gimp-2.8.10-clang.patch
...
[ ok ]
* Running eautoreconf in
'/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
* Running glib-gettextize --copy --force
...
[ ok ]
* Running intltoolize --automake --copy --force
...
[ ok ]
* Skipping 'gtkdocize --copy' due gtkdocize not installed
* Running libtoolize --install --copy --force --automake
...
[ ok ]
* Running aclocal -I m4macros
...
[ ok ]
* Running autoconf
...
[ ok ]
* Running autoheader
...
[ ok ]
* Running automake --add-missing --copy --force-missing
...
[ ok ]
* Running elibtoolize in: gimp-2.8.10/
*   Applying portage/1.2.0 patch ...
*   Applying sed/1.5.6 patch ...
*   Applying as-needed/2.4.2 patch ...
*   Applying target-nm/2.4.2 patch ...
* Fixing OMF Makefiles
...
[ ok ]
* Disabling deprecation warnings
...
[ ok ]
Source prepared.
Configuring source in
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
* econf: updating gimp-2.8.10/config.sub with
/usr/share/gnuconfig/config.sub
* econf: updating gimp-2.8.10/config.guess with
/usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules
--disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1
--disable-maintainer-mode --disable-gtk-doc --enable-default-binary
--disable-silent-rules --with-x --without-aa --with-alsa
--disable-altivec --with-bzip2 --without-libcurl --with-dbus
--without-gvfs --without-webkit --with-libjpeg --without-libjasper
--with-libexif --with-lcms=lcms2 --without-gs --enable-mmx --with-libmng
--with-poppler --with-libpng --disable-python --disable-mp --enable-sse
--with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc
--without-libxpm --without-xvfb-run
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in
`/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler cannot create executables
See `config.log' for more details


Now, emerge / equery  will not even show up on a command line.
Most of the time I'm getting an error:
error while loading shared libraries: libstdc++.so.6: cannot open shared
object file: No such file or directory

Running on my other system I get:
equery b libstdc++.so.6
* Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
(/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
libstdc++.so.6.0.14)

env-update - doesn't work either


Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file defining the appropriate paths for your current version of gcc. Here's how it looks on my system:

  # cd /etc/ld.so.conf.d
  # ls
  05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
  # cat 05gcc-x86_64-pc-linux-gnu.conf
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

Once you have made any necessary changes, run ldconfig.

--Kerin

Reply via email to