mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] how to integrate python modules using find_library
@ 2019-11-05 17:11 Guillermo Rodriguez Garcia
  2019-11-08 17:45 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Guillermo Rodriguez Garcia @ 2019-11-05 17:11 UTC (permalink / raw)
  To: ptxdist


[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-08 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 17:11 [ptxdist] how to integrate python modules using find_library Guillermo Rodriguez Garcia
2019-11-08 17:45 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox