python-poetry / python-poetry/install.python-poetry.org
Does not work with a shared libpython3.so on run-time search path
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 255
- Forks
- 65
- Merge medio
- 2 h 48 min
- PR fusionados (30 d)
- 1
Descripción
I'm using the CPython configure flags --enable-shared with an rpath interpolation (LDFLAGS). Linux platform (RHEL 8.3).
The interpreter's stdlib venv works just fine, but poetry installer doesn't like something about that config
$ readelf -d /usr/local/bin/python3.11 | grep rpath
0x000000000000000f (RPATH) Library rpath: [$ORIGIN/../lib]
$ ldd /usr/local/bin/python3.11 | grep libpython
libpython3.11.so.1.0 => /usr/local/bin/../lib/libpython3.11.so.1.0 (0x00007ffff7632000)
$ curl -sSL https://install.python-poetry.org | /usr/local/bin/python3.11 -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
/home/wglenn/.local/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.2.2): An error occurred. Removing partial environment.
Poetry installation failed.
See /home/wglenn/git/python/poetry-installer-error-t8owbf6b.log for error logs.
The log:
$ cat /home/wglenn/git/python/poetry-installer-error-t8owbf6b.log
/home/wglenn/.local/share/pypoetry/venv/bin/python3.11: error while loading shared libraries: libpython3.11.so.1.0: cannot open shared object file: No such file or directory
Traceback:
File "<stdin>", line 919, in main
File "<stdin>", line 552, in run
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza reproduciendo el fallo de la biblioteca compartida con el comando del instalador e inspecciona el código del instalador alrededor de las ubicaciones run y main indicadas (líneas 552 y 919). Se considera terminado cuando el instalador se completa correctamente al usar Python una shared libpython3.so encontrada mediante su ruta de búsqueda en tiempo de ejecución.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100