GNU bug report logs - #53940
Wrong gcc path ?

Previous Next

Package: guix;

Reported by: cayetano.santos <at> inventati.org

Date: Fri, 11 Feb 2022 14:21:01 UTC

Severity: normal

Done: Cayetano Santos <csantosb <at> inventati.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Cayetano Santos <cayetano.santos <at> inventati.org>
To: bug-guix <at> gnu.org
Subject: Wrong gcc path ?
Date: Fri, 11 Feb 2022 15:15:50 +0100
Hello Guix,

 I'm building a container with 'guix shell --container', and 
 including gcc-toolchain.

 Under /gnu/store I get gcc 11.2 as well as gcc 10.3, both with 
 -lib directories. Problem is I get an error about GLIBCXX_3.4.29 
 missing. My software compiles (and finds) the wrong gcc 10.3 
 lib, and not the correct 11.2. How can I set the correct gcc 
 libs ? I have located the folder, but the random hash makes it 
 unusable. I mean, setting LD_LIBRARY_PATH solves the problem, 
 but, how to guess the right one ?

 To reproduce the problem, I have created an example repository 
 here: https://gitlab.in2p3.fr/csantos/examples/guix-issue

 Is that related to guix ?

Thanks,

Cayetano Santos




This bug report was last modified 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.