From: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] how to integrate python modules using find_library
Date: Tue, 5 Nov 2019 18:11:27 +0100 [thread overview]
Message-ID: <CABDcavZFPk+OrDFosRXsq_eMbHX7PjOmVUCe5qYwnpALcf2BRQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 679 bytes --]
Hi all,
Some python packages (e.g. soundfile) rely on find_library (from
ctypes.util) to resolve the name of a dynamic library at runtime in a
platform-independent way.
On Linux, the implementation of find_library [1] requires one of the
following:
- ldconfig
- gcc + objdump
- ld + objdump
Neither of the above make much sense on an embedded target. Does anyone
have advice or recommendations on how to deal with such packages, short of
just patching the sources to avoid the use of find_library?
[1]:
https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Lib/ctypes/util.py#L309
Thanks,
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com
[-- Attachment #1.2: Type: text/html, Size: 1117 bytes --]
[-- Attachment #2: Type: text/plain, Size: 92 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2019-11-05 17:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-05 17:11 Guillermo Rodriguez Garcia [this message]
2019-11-08 17:45 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABDcavZFPk+OrDFosRXsq_eMbHX7PjOmVUCe5qYwnpALcf2BRQ@mail.gmail.com \
--to=guille.rodriguez@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox