From: Urs Schutz <u.schutz@bluewin.ch>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Running programs compiled with a different gcc version
Date: Sat, 19 May 2012 17:23:22 -0300 [thread overview]
Message-ID: <20120519172322.6108ab25@bluewin.ch> (raw)
Yesterday I manually compiled photivo, a camera raw file
converter and image editor. One of the requirements for
installing is gcc 4.6. So I manually unmasked gcc 4.6.3
and installed it with portage.
After switching gcc with gcc-config and . /etc/profile,
photivo compiled fine.
A test run showed that photivo is running fine.
I simply do not know enough about gcc and gentoo to leave
gcc at 4.6.3, and switched back to the stable 4.5 branch
(gcc-config and . /etc/profile again).
When I try to run photivo again I get an error:
photivo: /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6:
version `GLIBCXX_3.4.15' not found (required by photivo)
locate -i glibcxx shows no results.
My question is: Can I set some variables (e.g. in a bash
start script) that photivo thinks it is running on a system
with gcc 4.6? All the components are installed, as I can
switch gcc to 4.6.3 and run photivo as user.
I do not see any changes in environment variables before
and after switching gcc versions. What magic does
gcc-config do?
Urs
next reply other threads:[~2012-05-19 20:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-19 20:23 Urs Schutz [this message]
2012-05-19 22:01 ` [gentoo-user] Re: Running programs compiled with a different gcc version Nikos Chantziaras
2012-05-19 23:38 ` [gentoo-user] Resolved: " Urs Schutz
2012-05-20 19:16 ` [gentoo-user] " Norman Invasion
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120519172322.6108ab25@bluewin.ch \
--to=u.schutz@bluewin.ch \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox