1 |
On 09/09/2014 19:36, Joseph wrote: |
2 |
> I was installing an application gimp and all of a sudden I got an error: |
3 |
> |
4 |
>>>> Emerging (7 of 8) media-gfx/gimp-2.8.10-r1 |
5 |
> * gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) |
6 |
> ... |
7 |
> [ ok ] |
8 |
> * gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-) |
9 |
> ... |
10 |
> [ ok ] |
11 |
>>>> cfg-update-1.8.2-r1: Creating checksum index... |
12 |
>>>> Unpacking source... |
13 |
>>>> Unpacking gimp-2.8.10.tar.bz2 to |
14 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work |
15 |
>>>> Unpacking gimp-2.8.10-freetype251.patch to |
16 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work |
17 |
> unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring. |
18 |
>>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work |
19 |
>>>> Preparing source in |
20 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ... |
21 |
> * Applying gimp-2.7.4-no-deprecation.patch |
22 |
> ... |
23 |
> [ ok ] |
24 |
> * Applying gimp-2.8.10-freetype251.patch |
25 |
> ... |
26 |
> [ ok ] |
27 |
> * Applying gimp-2.8.10-clang.patch |
28 |
> ... |
29 |
> [ ok ] |
30 |
> * Running eautoreconf in |
31 |
> '/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ... |
32 |
> * Running glib-gettextize --copy --force |
33 |
> ... |
34 |
> [ ok ] |
35 |
> * Running intltoolize --automake --copy --force |
36 |
> ... |
37 |
> [ ok ] |
38 |
> * Skipping 'gtkdocize --copy' due gtkdocize not installed |
39 |
> * Running libtoolize --install --copy --force --automake |
40 |
> ... |
41 |
> [ ok ] |
42 |
> * Running aclocal -I m4macros |
43 |
> ... |
44 |
> [ ok ] |
45 |
> * Running autoconf |
46 |
> ... |
47 |
> [ ok ] |
48 |
> * Running autoheader |
49 |
> ... |
50 |
> [ ok ] |
51 |
> * Running automake --add-missing --copy --force-missing |
52 |
> ... |
53 |
> [ ok ] |
54 |
> * Running elibtoolize in: gimp-2.8.10/ |
55 |
> * Applying portage/1.2.0 patch ... |
56 |
> * Applying sed/1.5.6 patch ... |
57 |
> * Applying as-needed/2.4.2 patch ... |
58 |
> * Applying target-nm/2.4.2 patch ... |
59 |
> * Fixing OMF Makefiles |
60 |
> ... |
61 |
> [ ok ] |
62 |
> * Disabling deprecation warnings |
63 |
> ... |
64 |
> [ ok ] |
65 |
>>>> Source prepared. |
66 |
>>>> Configuring source in |
67 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ... |
68 |
> * econf: updating gimp-2.8.10/config.sub with |
69 |
> /usr/share/gnuconfig/config.sub |
70 |
> * econf: updating gimp-2.8.10/config.guess with |
71 |
> /usr/share/gnuconfig/config.guess |
72 |
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu |
73 |
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man |
74 |
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc |
75 |
> --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules |
76 |
> --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1 |
77 |
> --disable-maintainer-mode --disable-gtk-doc --enable-default-binary |
78 |
> --disable-silent-rules --with-x --without-aa --with-alsa |
79 |
> --disable-altivec --with-bzip2 --without-libcurl --with-dbus |
80 |
> --without-gvfs --without-webkit --with-libjpeg --without-libjasper |
81 |
> --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx --with-libmng |
82 |
> --with-poppler --with-libpng --disable-python --disable-mp --enable-sse |
83 |
> --with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc |
84 |
> --without-libxpm --without-xvfb-run |
85 |
> checking for a BSD-compatible install... /usr/bin/install -c |
86 |
> checking whether build environment is sane... yes |
87 |
> checking for a thread-safe mkdir -p... /bin/mkdir -p |
88 |
> checking for gawk... gawk |
89 |
> checking whether make sets $(MAKE)... yes |
90 |
> checking whether make supports nested variables... yes |
91 |
> checking whether make supports nested variables... (cached) yes |
92 |
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc |
93 |
> checking whether the C compiler works... no |
94 |
> configure: error: in |
95 |
> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10': |
96 |
> configure: error: C compiler cannot create executables |
97 |
> See `config.log' for more details |
98 |
> |
99 |
> |
100 |
> Now, emerge / equery will not even show up on a command line. |
101 |
> Most of the time I'm getting an error: |
102 |
> error while loading shared libraries: libstdc++.so.6: cannot open shared |
103 |
> object file: No such file or directory |
104 |
> |
105 |
> Running on my other system I get: |
106 |
> equery b libstdc++.so.6 |
107 |
> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4 |
108 |
> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -> |
109 |
> libstdc++.so.6.0.14) |
110 |
> |
111 |
> env-update - doesn't work either |
112 |
> |
113 |
|
114 |
Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file |
115 |
defining the appropriate paths for your current version of gcc. Here's |
116 |
how it looks on my system: |
117 |
|
118 |
# cd /etc/ld.so.conf.d |
119 |
# ls |
120 |
05binutils.conf 05gcc-x86_64-pc-linux-gnu.conf |
121 |
# cat 05gcc-x86_64-pc-linux-gnu.conf |
122 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32 |
123 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3 |
124 |
|
125 |
Once you have made any necessary changes, run ldconfig. |
126 |
|
127 |
--Kerin |