From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hogenson, Raymond E (334H-Affiliate)" Subject: bug#32131: ghc fails to compile packages when installed into profile Date: Thu, 12 Jul 2018 09:20:08 -0700 Message-ID: <15059048-31A2-41B0-B38D-7AE947C23DA6@cock.li> References: <48f7e837-be75-66b2-8535-636f40c62327@cock.li> <87sh4otphc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdeSo-0003Mc-HS for bug-guix@gnu.org; Thu, 12 Jul 2018 12:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdeSl-0003Wb-Ao for bug-guix@gnu.org; Thu, 12 Jul 2018 12:29:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdeSl-0003WN-0Q for bug-guix@gnu.org; Thu, 12 Jul 2018 12:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fdeSk-000610-RG for bug-guix@gnu.org; Thu, 12 Jul 2018 12:29:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sh4otphc.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic Court=C3=A8s Cc: 32131@debbugs.gnu.org On 7/12/18, 8:59 AM, "Ludovic Court=C3=A8s" wrote: > Hello, > > Anonymous skribis: > > [...] > > Indeed. Does running: > > guix package -i glibc binutils ld-wrapper > > help? Actually, it does not. Doing that, I get the error ld: cannot find crt1.o: No such file or directory ld: cannot find crti.o: No such file or directory collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1) However, if I also set LIBRARY_PATH=/lib then compilation proceeds just fine. It seems like just bringing glibc into the profile does not correctly set LIBRARY_PATH.