all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* openssl libcrypto dependency on glibc@2.34?
@ 2023-11-25 10:26 Alexander Asteroth
  2023-11-26  7:40 ` Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Asteroth @ 2023-11-25 10:26 UTC (permalink / raw)
  To: help-guix

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
```

Cheers
Alex


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: openssl libcrypto dependency on glibc@2.34?
  2023-11-25 10:26 openssl libcrypto dependency on glibc@2.34? Alexander Asteroth
@ 2023-11-26  7:40 ` Efraim Flashner
  2023-11-27  7:42   ` Alexander Asteroth
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2023-11-26  7:40 UTC (permalink / raw)
  To: Alexander Asteroth; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 3555 bytes --]

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.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: openssl libcrypto dependency on glibc@2.34?
  2023-11-26  7:40 ` Efraim Flashner
@ 2023-11-27  7:42   ` Alexander Asteroth
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Asteroth @ 2023-11-27  7:42 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: help-guix


On Sun, Nov 26 2023, 09:40:32, Efraim Flashner 
<efraim@flashner.co.il> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-27  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-25 10:26 openssl libcrypto dependency on glibc@2.34? Alexander Asteroth
2023-11-26  7:40 ` Efraim Flashner
2023-11-27  7:42   ` Alexander Asteroth

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.