Rok Mandeljc

Results 553 comments of Rok Mandeljc

Whereas for example Anaconda python sets RPATH on the extension itself (and I think also on every shared library they ship), so: ``` $ ldd /home/rok/miniconda3/envs/tkinter-test/lib/python3.13/lib-dynload/_tkinter.cpython-313-x86_64-linux-gnu.so linux-vdso.so.1 (0x00007f2517d25000) libtk8.6.so =>...

> OK, I can change that! > > Is it okay if I give tkinter a `DT_RPATH` of `${ORIGIN]/../..` _and_ a `DT_NEEDED` of `${ORIGIN]/../../libtcl8.6.so` and `${ORIGIN}/../../libtk8.6.so`? If you're just looking...

> Turns out that it's failing for me because I'm using [cpython-3.10.18+20250808-x86_64_v2-unknown-linux-gnu-debug-full.tar.zst](https://github.com/astral-sh/python-build-standalone/releases/download/20250808/cpython-3.10.18+20250808-x86_64_v2-unknown-linux-gnu-debug-full.tar.zst) which calls `libpython.so` `libpython3.10d.so` (I'm guessing `d` is for `debug`?) so our `$sys.base_prefix/lib/libpython3.x.so` heuristic fails. Is the correct...

> We end up one directory level off at runtime. I'm hoping that doesn't mean we're going to have to rewrite its linker paths (have you found a tool that...

> Is that expected? How exactly does the difference between onefile and onedir mode manifest? Does analysis stage during one "see" the `tkinter` but the other does not? (Because analysis...

But actually, I don't think Astral builds set `RPATH` on the python extensions they ship yet. Earlier in this thread we discussed that and there was a special build where...

> Finally, do I understand > > > 46864 DEBUG: TclTkInfo: failed to obtain Tcl/Tk info: tkinter/_tkinter could not be imported. > > correct that I need to ensure that...

> Now the _ssl.cpython-311.so is different from what is under /opt/pyenv/versions/3.11.3/lib/python3.11/lib-dynload/ on the python interpreter doing an import ssl does not result in any errors The copy of `_ssl` extension...

So if you replace/overwrite the `_internal/lib-dynload/_ssl.cpython-311.so` in onedir with `/opt/pyenv/versions/3.11.3/lib/python3.11/lib-dynload/_ssl.cpython-311.so`, it starts working? Are the files really different, then? Can you for example compute their checksums and see if they...

> Is gcc and IBM C code generated binary interoperable or they will have ABI issues? If I recall correctly from my experiments with AIX 7.2 VM, the main difference...