[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python: Error loading shared library in Guix
From: |
Björn Höfling |
Subject: |
Re: Python: Error loading shared library in Guix |
Date: |
Tue, 19 Mar 2019 19:04:29 +0100 |
On Tue, 19 Mar 2019 15:52:41 +0100
Ricardo Wurmus <address@hidden> wrote:
> Using the full file name would work, for example:
>
> ./pre-inst-env guix environment --ad-hoc python zlib -- \
> python3 -c "import os; import ctypes;
> libz=ctypes.CDLL(os.environ['GUIX_ENVIRONMENT']+'/lib/libz.so.1')"
Right! With a "substitute*", I can inject the full path and then it
works.
Thanks,
Björn
pgpDr7QvqynSF.pgp
Description: OpenPGP digital signature