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

To reply to this bug, email your comments to 53940 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#53940; Package guix. (Fri, 11 Feb 2022 14:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to cayetano.santos <at> inventati.org:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 11 Feb 2022 14:21:01 GMT) Full text and rfc822 format available.

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 2 years and 68 days ago.

Previous Next


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