From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2P/RHtdbYmPG2AAAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 13:00:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +ADKHtdbYmPpmAAA9RJhRA (envelope-from ) for ; Wed, 02 Nov 2022 13:00:23 +0100 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 2C61B14E88 for ; Wed, 2 Nov 2022 13:00:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqCPT-0006KF-6r; Wed, 02 Nov 2022 07:59:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqCPP-0006JV-Ah for help-guix@gnu.org; Wed, 02 Nov 2022 07:59:52 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqCPN-0005X7-QH for help-guix@gnu.org; Wed, 02 Nov 2022 07:59:51 -0400 Received: by mail-wr1-x429.google.com with SMTP id v1so24161106wrt.11 for ; Wed, 02 Nov 2022 04:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oGRwPLzOVcf9MANY6i4ZBhRvTs93OvbgJ/m5Casf0Bk=; b=p2sUhSEt16uxeBTOoJr+ul5oT52Ina8szcRpjuVCNdcWEk772jyAV0ngi8RXBEC4xs Dh924gWRW0QqHX2S4MX2myiWtgVV+NMohz6gT8C4ixHz8pXESqKRsOnB4tQduEpJaJTN eQYik0NVPz+e8a/hzyBwz2pk4LpB3qK4xJmXLfcYYXtUtiEbbxSG2HFcUB7ykhd9enxa qTL+q4KxK68SkqkXTsyVZV6+glYThlS9kaKnb/a+fcKkjpv4Nx4GsPK8TLT5Otgs05DF n05Rz6YkQhggXBs5n1UNuc+CXh5UacIBf5eWxGKJXMBioSdMTJ4JDG9bqnX0bC8O+8UA I2qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oGRwPLzOVcf9MANY6i4ZBhRvTs93OvbgJ/m5Casf0Bk=; b=1RJ+rLgBpn+eyFpzXEzLx6jEX57WWU7rSRC9fY8m1dB7BeElXm/RnOFQCKWXmgwAXd UiZBhVkf/mxShHJTZWML5kxypCaUk3aId9nkmpZyIcY3AZkkdVf7MaEryZZ1/HiZlhKS aIA5AMZsqyFizKp4M27VLW43jpynX28UZ1Mx7GLwMjkD6m/sMrtIk/ET06m9tdUxBoh4 jZY0Ge06m+AOnnL658AsCU8SEXByS4sSS9yN+L+aSNAMWDJ71WDr7S4jVitFGjVsspnK eaUenhIEZhEBr7f3EOQEIeqCgBVz8XrVeUI7RU4YHbhwXktUc8DNO9Z9SXXne6Kf94bp 7fDA== X-Gm-Message-State: ACrzQf3Ow0dvoNVMtqmASGnviZOkVGiUiK6NB2+9hmyHwtETOTGTzeb/ /1bgUezzaGLCpKpDHNVpM3d6bq0zlvcTTvLfSH8= X-Google-Smtp-Source: AMsMyM7s5a0LC7a7du4tKSsnUWm+hAN5hgkFCLySLyimhX9UG5kMDHn3gVMypmMawvJsWabeBgltmRD/BQ4TrvghW+U= X-Received: by 2002:adf:ee83:0:b0:236:bdb4:50c with SMTP id b3-20020adfee83000000b00236bdb4050cmr12416211wro.326.1667390387227; Wed, 02 Nov 2022 04:59:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Milind Kamble Date: Wed, 2 Nov 2022 06:59:35 -0500 Message-ID: Subject: Re: Seeking help to create link to libstdc++.so in /lib64 To: phodina Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=milind.b.kamble@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667390423; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oGRwPLzOVcf9MANY6i4ZBhRvTs93OvbgJ/m5Casf0Bk=; b=mIviVml9/r3sxXR/9AIjUx8prLjDZvsC6MDBGwLTEXI7FxFIk/J7qnTlB83UWmsDUNkTnX QFF+a3PP2Te4hmD/j+6519fu3KF38v/O7c4nXCCVzgxxVLxgEXduKutZ743Ky9XjtBbx8E 3+QeciiTI0zWcr9RRu3CZ3HwmuoLwtG2cHy+VPfIA6W0jYzZwVSG67VIOj2RE/OgD+Ez8I Iuq/XoLjZ2Adp6tc3kYlK6qSnotOvOA8VUjuYJqQqIQMZ3u5bY8BRrOhoA+AD3BYwGojl1 UwuufQFmaDyAYPRHNmr8Sgyk+sDKFd+fm/2qLSxMNLH3mCWrXNoBQOZ/dWB8yw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667390423; a=rsa-sha256; cv=none; b=XV+2vKoYqZYiJkb6EHS2Gy9EQHJXJ0+nfgqZtQROxTR+xSHTfPJ6PMfrcDt1NTXFaGfbPx TQbUTum9dodjDtAb6/1JQ1Xz8icZC80OtCoyYhvNSiyOPKaJX0wH6G7keTdTpuomnYDHrq UiFsUwZdCYzSaTn1N+1xgMhvDJQLdBUK8uoFw5dEI5w2vuySZaTrtaacFFYRc730Ben9qj /1vtITl8pnVrlnyKzoEGHsk9GPuIMPoHzrMrHK0WHxCE8kwyhjpYA+hKEbhNV5hWWX4Hng 9Cbw3msPoNbm3BOFeGLdveyFBZ8T0lkVnKiJdvwC0X7ANX74DdQy/MOgTwuaQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p2sUhSEt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p2sUhSEt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2C61B14E88 X-Spam-Score: -3.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: SkHr2Kg1SON9 Thanks for responding Petr. Could you elaborate how to compose it with the outer function? I tried this (operating-system ;; other stuff snipped out (services (list (extra-special-file "/lib64/libstdc++.so.6" (file-append `(,gcc "lib") "/lib/libstdc++.so.6")) )))) It gives me this error: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): (# "lib") So file-append does not like/expect a list. It expects a package object for first argument -Milind On Tue, Nov 1, 2022 at 4:54 AM phodina wrote: > > Hi Milind, > > > > > If instead of file-append, I use string-append like this: > > #~(string-append $#gcc:lib "/lib/libstdc++.so.6") > > it works to the extent that gcc:lib is expanded correctly, but then > > activate-service.scm script contains > > (activate-special-files (quote (("/lib64/libstdc++.so.6" > > (string-append "/gnu/store/6d0pl5khj08j3c2619jnypc8bznspgx8-gcc-10.3.0-lib" > > "/lib/libstdc++.so.6"))))) > > > > and which results in an error: > > wrong type (expecting string): (string-append > > "/gnu/store//gnu/store/6d0pl5khj08j3c2619jnypc8bznspgx8-gcc-10.3.0.lib" > > "/lib/libstdc++.so.6") > > > > IMHO you can try the following code instead of the Gexp: > `(,gcc "lib") > > Hope it helps! > > ---- > Petr