Deutsch   English   Français   Italiano  
<mailman.2.1734190054.2912.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail
From: Michael Torrie <torriem@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: it's a shame... python error over error
Date: Sat, 14 Dec 2024 08:27:29 -0700
Lines: 20
Message-ID: <mailman.2.1734190054.2912.python-list@python.org>
References: <vjh2mh$3bu1o$1@dont-email.me>
 <E8C75A2F-798A-4C99-93F9-1B8870C3AA8C@barrys-emacs.org>
 <mailman.0.1734115968.2912.python-list@python.org>
 <vji72m$3ju1l$1@dont-email.me>
 <5e184152-6b91-6c81-4df6-5c761e13c232@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de XkAPMN0p69VHO86rj7ABDwyooTy76N/7rtEscp+FzSsA==
Cancel-Lock: sha1:sjP9myCs3Rcwlbzu6hVYLkagdHI= sha256:tjw1Tp6pZYYppCGGT54zrhPrtKpXeTMOlEA2izULr48=
Return-Path: <torriem@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=gmail.com header.i=@gmail.com header.b=A0VcH30Z;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.025
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'influence': 0.07;
 'subject:error': 0.07; 'python.': 0.08; '*not*': 0.09; 'received
 :mail-pl1-x634.google.com': 0.09; 'subject:python': 0.10; '1:56':
 0.16; 'paths': 0.16; 'python3': 0.16; 'reason.': 0.16;
 'variable,': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'python':
 0.16; 'message-id:@gmail.com': 0.18; 'libraries': 0.19; 'pm,':
 0.19; 'to:addr:python-list': 0.20; 'unable': 0.21; 'version':
 0.23; 'seems': 0.26; 'again,': 0.26; "isn't": 0.27; 'bit': 0.27;
 'environment': 0.29; 'header:User-Agent:1': 0.30; 'seem': 0.31;
 'python-list': 0.32; 'header:In-Reply-To:1': 0.34;
 'received:google.com': 0.34; 'able': 0.34; 'package': 0.34;
 'from:addr:gmail.com': 0.34; 'files': 0.36; 'received:192.168':
 0.37; 'though': 0.37; 'way': 0.38; 'list': 0.39; 'use': 0.39;
 'quite': 0.39; 'finding': 0.39; 'shared': 0.39; 'case.': 0.40;
 'something': 0.40; 'in,': 0.60; 'search': 0.61; 'your': 0.64;
 'process.': 0.65; 'right': 0.68; 'during': 0.69; 'manually': 0.69;
 'skip:/ 10': 0.69; 'direct': 0.73; 'linking': 0.76; 'indicates':
 0.84; 'itself.': 0.84; 'subject:over': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1734190051; x=1734794851; darn=python.org;
 h=content-transfer-encoding:in-reply-to:from:references:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=VlAGzBAgbiPiQw4U8THBrNGs02sW/Ssw0sUlQLb5raI=;
 b=A0VcH30ZariKhLUXvI4YmI2NOakoGKe4y+CJpQT693qB7rfEafHEOsmZo88wrP5LxV
 EntmGf8pjtZ9bu54hz2IdandCjBo6TSAeWPB+OPjFS0OthP7D8mJEBfSAvpz6U4DvTyN
 Do5BYJPtT6HFJawbpWij4X+rxuzZUk31DwPou0LTE44bAbFDIxtbf80cBrb5fuoI8n0T
 LcsyQlJ7m/8rf8fugceY73ZIbONJeqEiUQ4IxeiOkNzcOf2LT7S9ntkG86W3RvKBFXv2
 2aURZHINmnpFYtV3APcbjcb2CKw+8q+YO/WM9quvzklXaJ9/vOlorcNUo61JhSktJFu5
 wfxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734190051; x=1734794851;
 h=content-transfer-encoding:in-reply-to:from:references:to
 :content-language:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=VlAGzBAgbiPiQw4U8THBrNGs02sW/Ssw0sUlQLb5raI=;
 b=qM6WMNgeEcSiFu4qDusM1lEVhiu1oHkJDMQsN5U1Gl9odL9mNr0gt2NVyhCpaaawT8
 kvFTx2YTF0NCEtBjKaTprhwixpdz6WZuPCV69VSgRbF7l20CiMDcyaNtlWobHoNWrfj5
 FmWp2GYuMR+C3EZS9oGXqW75dcZpLXLYBfXPDuzuR2RABGA2nuU+qqFIXHK+rstT6BJJ
 n0Tz9yJm22+9heA/l5FRWRnrm79GwO8q5rAzOmB5odDmyy8mVczuMOq8Md34AKB0Kjmd
 Xkf4ujTn0x1hVCf2akz+lIuVSH6Fcr03WklUdSBJBdUN53pvYJEANHdZm5DavDtcNahN
 kdhQ==
X-Gm-Message-State: AOJu0YxCGitYql6dUPuLberVKdtvMtvhIXhgdqNq72joJtVuaW5mtktw
 piYHqoaM3ziupZLPOHT1MMdEC8VWIAmANiDJUANjGRQKP92K+P0Fuqi+EjWYdmU=
X-Gm-Gg: ASbGnctJzmaFDXBoYt97gFIwtYWVSBMOEvhS6osM6RzPeXRqVZRtiovz3DXmp7N4dda
 T5iOYBfbA7PVu06dkFus60r3rUCbtPHYfROQsjpieiPSH3FGEjFNHK1cqps2KV1E/MPZqCWrllw
 SG7x8if6lLsVq9o+qjyG1mZHPOGN4mtKI4Pg9aZCidS63vR0tN1Iy6HOaNJzw9UeOZxODIJO79F
 JFOCFhx48P/kpLoCnN3XIOBtEUBXSD7jPXKyt8eHZkTIUbhlPmCTETT0sWyHQ==
X-Google-Smtp-Source: AGHT+IFZ9k5Y1dLs8JdilpFJIB44N/eJgYS5jHd8yR2gH/0xYN6OdBgA7efyAVkwtmh17ucfJgLNLQ==
X-Received: by 2002:a17:903:234c:b0:215:431f:268b with SMTP id
 d9443c01a7336-218929a177cmr34330955ad.1.1734190051491; 
 Sat, 14 Dec 2024 07:27:31 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.15.1
Content-Language: en-US
In-Reply-To: <vji72m$3ju1l$1@dont-email.me>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <5e184152-6b91-6c81-4df6-5c761e13c232@gmail.com>
X-Mailman-Original-References: <vjh2mh$3bu1o$1@dont-email.me>
 <E8C75A2F-798A-4C99-93F9-1B8870C3AA8C@barrys-emacs.org>
 <mailman.0.1734115968.2912.python-list@python.org>
 <vji72m$3ju1l$1@dont-email.me>
Bytes: 6648

On 12/13/24 1:56 PM, aotto1968 via Python-list wrote:
> the problem is *not* to setup an environment variable, the problem is that python is *not*
> able to setup the *python* environment by it self.

You're mistaken in this case.  Nothing you've posted indicates the
problem is in Python itself.  Something isn't quite right with your
linker and the linker search paths.  LD_LIBRARY_PATH is one way to force
the linker to use the correct search path.

Python has no direct influence over the linker search paths, other than
to list what shared libraries it is linked against, or to manually add
paths to the linker in /etc/ld.so.conf.d/ during package installation.
The ld.so linker is responsible for finding the files and linking them
in, not Python. In your case it seems unable to do so, for whatever
reason. Since your custom version of python3 does seem to link to the so
properly, it seems as though something isn't right in the environment of
the mono build process.  Again, nothing to do with Python.  The linker
isn't even getting to the bit where it links in libpython3.