From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prateem Mandal Subject: Re: Issues with Haskell's ghc Date: Sat, 3 Aug 2019 03:15:17 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59431) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htr4V-0006HW-Me for help-guix@gnu.org; Sat, 03 Aug 2019 06:15:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htr4U-0006Kn-49 for help-guix@gnu.org; Sat, 03 Aug 2019 06:15:31 -0400 Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]:42024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htr4T-0006KL-Vy for help-guix@gnu.org; Sat, 03 Aug 2019 06:15:30 -0400 Received: by mail-vs1-xe2c.google.com with SMTP id 190so52949801vsf.9 for ; Sat, 03 Aug 2019 03:15:29 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi, I could not figure out how to respond to an existing thread so I reused the subject line and below is the copy of email body sent on July 1, 2019 by Vasilii Kolobkov > I've run aground with Haskell's ghc (interpreter works fine) - running > ghc on a basic hello world program fails. I identified couple issues: > > - Include directory for linux headers wasn't passed to gcc > (`C_INCLUDE_PATH=/gnu/... ghc` fixed it) > - Lib C's crti.o and crt1.o where not found during linking > (fixed with `LIBRARY_PATH=/gnu/... ghc`) > - libgmp and libffi aren't passed to linker's -rpath > > If anybody uses Haskell here, i'd appreciate any insights on what might > be the root cause here. I am facing the same issue. I could resolve the second issue including glibc in the ad-hoc list while creating the environment (and I never hit the first issue). However I am now stuck with the third issue. In the original thread there was no resolution to this issue. Any idea how this can be fixed? Thanks Prateem