New submission from Chris Hills :
Similar to https://bugs.python.org/issue43466 for openssl, please add a
configure option to set rpath for sqlite3.
--with-sqlite-rpath=
Ideally, when any dpeendency is discovered with pkg-config, the correct rpath
should be set, but this would be a breaking
Chris Hills added the comment:
I tested this both with and without LDFLAGS="-Wl,-rpath
-Wl,/home/chaz/.local/local/python3.10.0/lib", and in both cases this patch
works as expected. Thank you!
--
nosy: +chaz6
___
Python track
Chris Hills added the comment:
If I set LDFLAGS as with previous versions, it works as expected. I do not know
if it is related, but I noticed that by default rpath does not get set for the
files in DESTDIR/bin/* (e.g. python3.10 or pip3.10) hence the inclusion of
/home/chaz/.local/local
Chris Hills added the comment:
The new behaviour seems broken on my system.
$ PYTHON_VERSION=3.10.0
$
PKG_CONFIG_PATH="/home/chaz/.local/local/sqlite3/lib/pkgconfig:/home/chaz/.local/local/openssl3/lib64/pkgconfig"
$ LLVM_PROFDATA=/home/chaz/.local/local/clang+llvm/bin/llvm-p
Chris Hills <[EMAIL PROTECTED]> added the comment:
In hindsight I did not need to use --with-suffix as I assumed the
interpreter would be installed as "python" by default, but it is not.
The patch however does fix the reported problem for me.
__
New submission from Chris Hills <[EMAIL PROTECTED]>:
On linux-g++-32 with command line `./configure --enable-ipv6 --with-
suffix=3`, python is compiled okay but the build scripts fail as
follows:-
running build_scripts
copying and adjusting /tmp/Python-3.0/Tools/scripts/idle -> build