From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MKYFJAD5pmC+YwAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 02:04:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SLSdHwD5pmDMVwAAbx9fmQ (envelope-from ) for ; Fri, 21 May 2021 00:04:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 060DA8C3E for ; Fri, 21 May 2021 02:04:16 +0200 (CEST) Received: from localhost ([::1]:47368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljseE-0003PF-1j for larch@yhetil.org; Thu, 20 May 2021 20:04:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljse5-0003Ow-BK for help-guix@gnu.org; Thu, 20 May 2021 20:04:05 -0400 Received: from mx1.riseup.net ([198.252.153.129]:48934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljse3-0006iv-NK for help-guix@gnu.org; Thu, 20 May 2021 20:04:04 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FmRfT1RYVzF29q; Thu, 20 May 2021 17:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1621555441; bh=dRCnlncctmrlRfrLOfAmSBwVMy7jU4jPY0hKA4cYTRI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qQ6zl87KtQoodYPKI8kB8sfTg8pjbkZu4bWXuUBxgC/MjSZPmargFcJOskCOlJfVQ Ud1rl/fDdDkMNeTR6MOAjAWnELbuUuN1/G/AlzW8uopEoQ+d5CJ7pZXIrWgetg9NJ4 17QmVndsrG8JsA6UB/UMPtW9dJ95kFrIx8L+Oraw= X-Riseup-User-ID: 24F157484D93D6E82B9BE246E84EB834C569DF4A2BF1A9C1DA1D89FAC9F428CE Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FmRfS1BHsz5vkn; Thu, 20 May 2021 17:03:59 -0700 (PDT) Date: Fri, 21 May 2021 02:03:33 +0200 From: raingloom To: vapnik spaknik Subject: Re: problem building go package: /usr/bin/ld: cannot find crt1.o: No such file or directory Message-ID: <20210521020333.05a71356@riseup.net> In-Reply-To: <749706961.2393567.1621506455551@mail.yahoo.com> References: <749706961.2393567.1621506455551.ref@mail.yahoo.com> <749706961.2393567.1621506455551@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621555456; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dRCnlncctmrlRfrLOfAmSBwVMy7jU4jPY0hKA4cYTRI=; b=hr8XC4RMyclcLWvy3pVrLvXpGRj6NFW6wkxEO5nAS9y5K45rLEu866x7HjwngAH57z4EDz cv2d689m5BVPdFq67+08mKNEhsjLxiDWvlFvGjMl0/8alwaEwr3RCDljMp78XQddr4X22+ tDEGE2y+9VVDeP84JADL/76SYG/Hqh53YwdSGulLRbXip4Xop2DNVMMFGf4NZw1Ic1+eJ5 9c9A90gq7ZX70FHar4kgXxSzukIkgds+nDFlD/9gUC6oM5eIKDkMqryvLBZse1EXcJ5AhA zZoqMAFF2mmjub3SjnbGpcyVOMvGDs3f3KWmoDMiwn0ONMugflzBBWY1zC07uQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621555456; a=rsa-sha256; cv=none; b=PhtmoiWXf7+4NMx1ouH1KIjbdf+sXdfoeH96ZuYd9oI3UHIrDSWQzHKm0hZjj9xx/OXhpZ f2e6Z1+PpGO/pC5+IHgJ/mqwACbKIRIBmPSeJ8hhHihyy1NIDBS+1GFk6XyY03i+tHTgMM ThX5abE8uCEoUjGuMmdNSPKirgjWjqTFZWRbsx/UbPAVv2ZO2GUi9ZArARGpPaOV1lF1I2 vDflGM9TrLWoqy9ViiWAZxCWnBYEAbnr1GM4viUh+6bxkCSpWS/y9bkMfIzwhyxya7V/wo +CIvRdVwQTtKurTxSuLoW03rO5AZvT9u0AQNlf7Tk3oJHOLtp3WeJmMlFHIFww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=qQ6zl87K; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=qQ6zl87K; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 060DA8C3E X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: yZyMKrGOZ1iy On Thu, 20 May 2021 10:27:35 +0000 (UTC) vapnik spaknik wrote: > Hi, > =C2=A0 =C2=A0 I'm running guix on Ubuntu, and have installed go via guix. > I tried installing a github go package using the following command: >=20 > > go get -u github.com/chzyer/readline =20 >=20 > but got this error: "fatal error: linux/errno.h: No such file or > directory" >=20 > I fixed that problem by doing:=C2=A0 >=20 > > export CGO_CPPFLAGS=3D"-I/usr/include" =20 >=20 > However, now I get the following error: "/usr/bin/ld: cannot find > crt1.o: No such file or directory" crt1.o can be found on my system > in /usr/lib/x86_64-linux-gnu so I tried doing this:=C2=A0 >=20 > > export CGO_LDFLAGS=3D"-rpath /usr/lib/x86_64-linux-gnu -L > > /usr/lib/x86_64-linux-gnu" =20 >=20 > but that didn't fix the problem, I still got the same error. > I also tried this: >=20 > > export LD_LIBRARY_PATH=3D"/usr/lib/x86_64-linux-gnu" =20 >=20 > but again, same error. >=20 > Can anyone help? >=20 This worked for me: guix environment --ad-hoc go gcc-toolchain -- \ go get -u github.com/chzyer/readline