[Python-Dev] find_library and issue21622

Javier Castillo II j.castillo.2nd at gmail.com
Mon Feb 11 15:50:15 EST 2019


This is the overarching issue:
https://github.com/docker-library/python/issues/111

In short, libraries that rely on find_library to bind to libs failed to
start as find_library returned nothing. In particular, a build of python
and saltstack in a single container, and a few other packages when using
the alpine base.

On Mon, Feb 11, 2019 at 5:18 AM Victor Stinner <vstinner at redhat.com> wrote:

> Hi,
>
> Would you mind to elaborate "some issues trying to deploy in an alpine
> container"? What are you trying to do? What is the error message?
>
> Some more context:
>
> * https://github.com/python/cpython/pull/10460 "bpo-21622: ctypes.util
> find_library walk LD_LIBRARY_PATH"
> * https://bugs.python.org/issue21622 reported in 2014: "ctypes.util
> incorrectly fails for libraries without DT_SONAME"
>
> Victor
>
> Le ven. 8 févr. 2019 à 17:27, Javier Castillo II
> <j.castillo.2nd at gmail.com> a écrit :
> >
> > Ran into some issues trying to deploy in an alpine container, where I
> wound up coming across the issue. I found a solution ( not sure if an ideal
> solution can exist ) that walks the paths in the environment variable
> LD_LIBRARY_PATH. This was submitted in github PR 10460, but not sure if
> there were any technical issues with this impacting its review.
> > _______________________________________________
> > Python-Dev mailing list
> > Python-Dev at python.org
> > https://mail.python.org/mailman/listinfo/python-dev
> > Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/vstinner%40redhat.com
>
>
>
> --
> Night gathers, and now my watch begins. It shall not end until my death.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190211/a4a6f518/attachment.html>


More information about the Python-Dev mailing list