This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.7 build problems
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Vincent Diepeveen <diep at xs4all dot nl>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 15 Apr 2012 22:46:28 +0200 (CEST)
- Subject: Re: GCC 4.7 build problems
- References: <171979E8-3362-4C94-B69A-2757BF6BB24B@xs4all.nl> <alpine.DEB.2.02.1204151834250.2580@laptop-mg.saclay.inria.fr> <D9673A3C-0383-4D17-BC52-667AF6FB2905@xs4all.nl>
- Reply-to: gcc-help at gcc dot gnu dot org
On Sun, 15 Apr 2012, Vincent Diepeveen wrote:
Seems libmpc.so.2 is the file it couldn't find.
I could find it in /usr/local/lib
when i typed
echo $PATH
then indeed /usr/local/lib wasn't in the path
typed:
export PATH=/usr/local/lib:$PATH
That might make sense on windows but not on unix, where libraries and
executables are separated.
I must set a librarypath maybe, if so, what is its name?
man ld.so
(really, there are several ways and the best one is for you to chose)
http://gcc.gnu.org/install/configure.html
mentions the name of an environment variable in the paragraph about mpc.
The entry in the FAQ just before the one I referred to gives a simple
technique to work around this issue.
--
Marc Glisse