From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mAFCAWtPZGX7ZQAA9RJhRA:P1 (envelope-from ) for ; Mon, 27 Nov 2023 09:12:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mAFCAWtPZGX7ZQAA9RJhRA (envelope-from ) for ; Mon, 27 Nov 2023 09:12:27 +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 860AF110B8 for ; Mon, 27 Nov 2023 09:12:26 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701072746; 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; bh=jzWUZl2IlPYm4iAdtIdmnFx8AQFpqg8tDoO2l445L24=; b=B3whKkfuL7E1m8fPXdHceHY8xh8GunPGLNQSABiLG7DOPiGoj++9+3wTe9YC5lvrWmIej6 G9LeMDnm3ZytKLVZnb1tmMtnL6m+Fpt9VvCpltDgxmc0WY+CX9RtdOSrCZF/Id/5dvCo6d qRzlNSC3k+yN3O4oo+b4JJM/41akbKcR6SHjlhrMmf8tebsXNpJiNmgrrjYEyGTjxRETpH U52BOfAhsNANHG/2MwnvgrBl3/V7wvjVcEqunWz/fJZWwlgpyFO8syPgKklQG2ommZR6Pd iTYjYxgvZ9z2BuZVzHzJjHfAUjl4Y/bQHs4JkvhYi1V0tJPOln1Gkod0fIKYYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701072746; a=rsa-sha256; cv=none; b=NGdfnzIg/aJaHdhiXkdkDaHClhXaq8V1i8C2QiiwO0zdHgjFu4/A4+cqqf8oBitaCg/X1r 4D5nDabV3D6e9qCQc1XnOLrNtTccKdJfs+XM5wHRazIiU9g4rVJbVDOOqyoF9a//RaJhLR JXpzMFev/vuCuRnp+9bGo3yZVQGdxsHkouQTKcCpWHJLORhnHGWp74c5bNBbhOGI9MjbjO TI+sXrB9OTiRI7esCz4GsDa/V5lhm/M0CiMoNPTnJwXFB0RCDxUEqt/Td1v+XVTNaKORKZ RmQAb+0YNxk2ubKxDZ7691rJnwqb20nFZ755Qu4KA3rfIsQscgexoMd5msP3ig== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7Wii-0003a0-4Z; Mon, 27 Nov 2023 03:11:56 -0500 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 1r7Wib-0003Zf-31 for help-guix@gnu.org; Mon, 27 Nov 2023 03:11:51 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48] helo=ux-2s-mailproxy.inf.h-brs.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7WiV-0001QD-Bd for help-guix@gnu.org; Mon, 27 Nov 2023 03:11:47 -0500 Received: from gyps.h-brs.de (i5C751698.versanet.de [92.117.22.152]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 3AR8BX7G015535 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 09:11:33 +0100 References: <875y1qglx9.fsf@h-brs.de> User-agent: mu4e 1.10.8; emacs 29.1 From: Alexander Asteroth To: Efraim Flashner Cc: help-guix@gnu.org Subject: Re: openssl libcrypto dependency on glibc@2.34? Date: Mon, 27 Nov 2023 08:42:28 +0100 In-reply-to: Message-ID: <87r0kbfwej.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS Received-SPF: pass client-ip=194.95.66.48; envelope-from=alexander.asteroth@h-brs.de; helo=ux-2s-mailproxy.inf.h-brs.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.13 X-Spam-Score: -0.13 X-Migadu-Queue-Id: 860AF110B8 X-Migadu-Scanner: mx12.migadu.com X-TUID: 2b5IFw4hHZhX On Sun, Nov 26 2023, 09:40:32, Efraim Flashner wrote: > [[PGP Signed Part:Undecided]] > On Sat, Nov 25, 2023 at 11:26:15AM +0100, Alexander Asteroth > wrote: >> Dear all, >> >> I'm trying to build Python@3.12 on my current guix >> distribution. However >> since Python's `pip` depends on `openssl` I need the `openssl` >> package. >> But somehow openssl seems to be compiled agaist `glibc@2.34` >> but version >> 2.34 is not available in current guix (only .33 and .35). >> >> Or am I getting something completely wrong here? >> >> Error message when runing `configure` for Python@3.21 >> ``` >> Trying link with >> OPENSSL_LDFLAGS=-L/gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib; >> OPENSSL_LIBS=-lssl -lcrypto; >> OPENSSL_INCLUDES=-I/gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/include >> configure:28051: gcc -pthread -o conftest >> -I/gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/include >> -L/gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib >> conftest.c >> -lssl -lcrypto -lpthread -ldl -lutil >&5 >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `dladdr@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `dlclose@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `dlerror@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_key_create@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_rwlock_unlock@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_setspecific@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_rwlock_destroy@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_rwlock_wrlock@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `dlsym@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_getspecific@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_key_delete@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_rwlock_init@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `dlopen@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_once@GLIBC_2.34' >> ld: >> /gnu/store/rlqmahvxh2q1wz1nw529qlaky6x3zh9g-openssl-3.0.8/lib/libcrypto.so: >> undefined reference to `pthread_rwlock_rdlock@GLIBC_2.34' >> collect2: error: ld returned 1 exit status >> ``` > > Are you trying to build it by hand or by creating a package? I > would > guess that pthread_rwlock_rdlock was introduced in glibc@2.34 > and its > trying to pickup your system's earlier version of glibc. That probably was the case. I was trying to create the package by hand. After several updates (I tried out a few things) it somehow finally worked but I can't tell what was the cause. Cheers Alex