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 ms0.migadu.com with LMTPS id iCIXGwhc5WFAdAAAgWs5BA (envelope-from ) for ; Mon, 17 Jan 2022 13:07:36 +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 0DZ3GAhc5WFUHAEA9RJhRA (envelope-from ) for ; Mon, 17 Jan 2022 13:07:36 +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 912CC394FF for ; Mon, 17 Jan 2022 13:07:35 +0100 (CET) Received: from localhost ([::1]:57816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9QnN-0003Gu-Hw for larch@yhetil.org; Mon, 17 Jan 2022 07:07:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Qmo-0003DJ-LM for help-guix@gnu.org; Mon, 17 Jan 2022 07:06:58 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Qmm-0004BT-EO for help-guix@gnu.org; Mon, 17 Jan 2022 07:06:58 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1642421207; cv=none; d=zohomail.com; s=zohoarc; b=Y77Z6RyvIksDzx5F0fgouxCT3ZxS71FUQ+2Rg/CfKHqsHlTku/cXrviSdfwmH/yR+fL5ksrQb2AbfR79KV5wg4ntkvaDwbOaBhLHFz4N2SsCuV2wcVebR0HD/LXT46P4as4MchWvaQQS+lglznlFVpAIo7i/V8Y9q7M7VnR1yms= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642421207; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=o+krhkoTFHw+VPUoY5qKvRU4pJ44JI90mLyx7ET7jfw=; b=EU0ZOOej8l+qljnN4sHCPqBP1mMu+DcJOq2E6mhYiSH1auIFzAIdzJ8DrZ+4lFfWVZJ9AAeAfavVI+m/Fhdqzk0PgAMQenbORniM3O3n57/RINHKpzDLMjCfOeBBkPUTA0Laf3ONbXamcFay2jY2bvIHEcI0jFhEYcyD+4DC5gQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1642421207; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=o+krhkoTFHw+VPUoY5qKvRU4pJ44JI90mLyx7ET7jfw=; b=ER7Nkp+a/04Y925Bvt0r53sbX8VVslKdRXVo7Bg8eErVz7A8kapHE23fQzwOxrsh RUYSoDlq94IsxkJv4ecVM/n96omwKVrybnTPOgZCN2BXhmw0WGYGuHfS6zVfqVxWITu P0IiVRM9DOu7QPwN4Bhb1VL669bmGnYgzjabEecM= Received: from localhost (p54ad4f0a.dip0.t-ipconnect.de [84.173.79.10]) by mx.zohomail.com with SMTPS id 164242120604727.724577546036244; Mon, 17 Jan 2022 04:06:46 -0800 (PST) References: User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus To: jsmith Subject: Re: readline problem Date: Mon, 17 Jan 2022 12:57:54 +0100 In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87k0eywoq5.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642421256; 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=o+krhkoTFHw+VPUoY5qKvRU4pJ44JI90mLyx7ET7jfw=; b=fnaf1DJo8bH3jELi+FfSwjUfTDYdk0/BsW7R5mrPCPK8LOCUbl9CCYojLiUj9Cfi2j8vq5 AB7eXJSZAy4rE5Vaqn9rBVXmHt0i/XgYOt/7AXAIALa92/22VpQX9bN2eI6SzUjT9abmlU y0cEx9pSyYtI1t8slKzaT3cBf+YeGVIwS/5Ulhej3KSlBdVrZ1ogJAYTTcvNcQSfW8YZzR K/TxFoesZY/qu9adAuuHHtqtBxYAqXqr4sn7QprYEjQZCwSAtvnTFvmHDXH04+ItGNSp2h R+yhETpiZBB3bXI26JoOpSDChxmlXbdZc2+Wo5byDzVpNHhgc9XBgcQ1v7qhGg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1642421256; a=rsa-sha256; cv=pass; b=UbeSK58NZBpq6Qwa2PltR8TusA9gAsuuaB0sgOFJk+//+5KzM5h01V5eogSxyZ3IUf4duA IuZ5ny+KqBrlW91EdbjBaSwBmjSk3QlV4vSE5BqQu7yitkv1q+9iCiNQMaVhurq29kzXdX +ULtPR2Cs77EbKl6xtI9vtVZew8ZsfNdDlm097CAQQE88OeZ0R09HncKN3p54AwiwnqznT wh1kWAqHEWW8eX4w0gCArDwMfL7bx3KrdNEJ42bUKniLPYv8Bz4oPpavZyp3/gEGNZAfHS wNqcv3CdaQqeWqvXh2loMcOMkDOpiCJQMkeY9FFoSH/26Y2yPyaY1V/N8rlzGQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=ER7Nkp+a; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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: -4.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=ER7Nkp+a; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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: 912CC394FF X-Spam-Score: -4.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4cAHtmywzB8b jsmith via writes: > Hi, > For some code that was previously working I receive the error: > > ERROR: In procedure dlopen: > In procedure dlopen: file > "/gnu/store/35apwp40n8rnlqyxf7hagwr250nw754w-guile-dbi-2.1.8/lib/libguile= -dbi.so", > message > "/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6: > version `GLIBC_2.33' not found (required by > /gnu/store/z0kk97dcbcj6s8crm3qiwsyz4ry0zqxw-guile-2.2.7/lib/libguile-2.2.= so.1)" > > I installed glibc_2.33 You should not do this. It has no effect as Guix will not look around for what version of glibc (or any other library for that matter) you might have installed in some profile. When building software, the absolute file names of libraries are embedded in the binary =E2=80=94 inclu= ding the GNU C library. The problem you describe looks like you have a mixture of packages that have been linked with different versions of the GNU C library, which indicates that you used different versions of Guix to build/install them. Here an older version of the C library is loaded first because some package you have is linked with that older version. Then at a later point a package demands to use features that only a newer version of the C library provides, but the older version that has been loaded cannot satisfy the request. This problem is not specific to Guix and is shared by all systems that use dynamic linking. There is no way to load different variants of the same library in the same process. The solution is to make sure that all software that has to work together uses the same variants of any libraries. Guix by default only keeps one variant per library in its set of package definitions, so by using the same version of Guix for all packages that are used simultaneously will bypass the problem. There are different ways out of this problem: a) use a manifest to ensure that all packages in your profile are installed with the exact same version of Guix and thus use the same variants for all libraries b) upgrade all your packages with the same version of Guix. c) use a temporary isolated environment, e.g. with =E2=80=9Cguix shell -C= =E2=80=9D Hope this helps! --=20 Ricardo