[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building 4.0.3 with local gcc on Linux
From: |
Toby Darling |
Subject: |
Building 4.0.3 with local gcc on Linux |
Date: |
Mon, 19 Sep 2016 17:40:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 |
Hi
I'm trying to build 4.0.3 with a local version of gcc. The build
succeeds but octave fails to start:
address@hidden: ./run-octave
/tmp/toby/octave-build/src/.libs/lt-octave-gui:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required
by /tmp/toby/octave-build/libgui/.libs/liboctgui.so.1)
The problem is, I can't figure out how to make octave/libtool use the
libraries from my gcc installation rather than the system ones. I've
tried setting LD_LIBRARY_PATH, LD_RUN_PATH, even GCC_EXEC_PREFIX to no
avail.
Host is Scientific Linux 6.7 (RHEL)
Linux max.lmb.internal 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15
08:24:23 CST 2015 x86_64 x86_64 x86_64 GNU/Linux
address@hidden: which gcc; gcc --version
/public/gcc/4_8_3/bin/gcc
gcc (GCC) 4.8.3
Any pointers much appreciated. Many thanks.
Cheers
Toby
--
Toby Darling, Scientific Computing (2N249)
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge Biomedical Campus
Cambridge CB2 0QH
Phone 01223 267070
- Building 4.0.3 with local gcc on Linux,
Toby Darling <=