1 |
On Sun, 20 May 2012 01:01:48 +0300 |
2 |
Nikos Chantziaras <realnc@×××××.com> wrote: |
3 |
|
4 |
> On 19/05/12 23:23, Urs Schutz wrote: |
5 |
> > Yesterday I manually compiled photivo, a camera raw file |
6 |
> > converter and image editor. One of the requirements for |
7 |
> > installing is gcc 4.6. So I manually unmasked gcc 4.6.3 |
8 |
> > and installed it with portage. |
9 |
> > After switching gcc with gcc-config and . /etc/profile, |
10 |
> > photivo compiled fine. |
11 |
> > A test run showed that photivo is running fine. |
12 |
> > |
13 |
> > I simply do not know enough about gcc and gentoo to |
14 |
> > leave gcc at 4.6.3, and switched back to the stable 4.5 |
15 |
> > branch (gcc-config and . /etc/profile again). |
16 |
> > |
17 |
> > When I try to run photivo again I get an error: |
18 |
> > photivo: /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6: |
19 |
> > version `GLIBCXX_3.4.15' not found (required by photivo) |
20 |
> > |
21 |
> > locate -i glibcxx shows no results. |
22 |
> > |
23 |
> > My question is: Can I set some variables (e.g. in a bash |
24 |
> > start script) that photivo thinks it is running on a |
25 |
> > system with gcc 4.6? All the components are installed, |
26 |
> > as I can switch gcc to 4.6.3 and run photivo as user. |
27 |
> > |
28 |
> > I do not see any changes in environment variables before |
29 |
> > and after switching gcc versions. What magic does |
30 |
> > gcc-config do? |
31 |
> |
32 |
> Try starting photivo with: |
33 |
> |
34 |
> LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3 |
35 |
> photivo |
36 |
> |
37 |
> (I assume the executable is named "photivo".) |
38 |
> |
39 |
> |
40 |
|
41 |
That's it. |
42 |
LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.6.3 photivo |
43 |
|
44 |
Thank you! |
45 |
Urs |