Hi Juan,

On Sat, Sep 28, 2013 at 11:57 PM, "Juan J. Martínez" <[email protected]> wrote:
> On 28/09/13 21:19, Paul Colomiets wrote:
> The problem is that in Linux ctypes.util.find_library won't check
> LD_LIBRARY_PATH at all and ldconfig is ignoring it also (AFAIK is
> supposed to be a bad idea, the trend is to not support it anymore).

I'll try to explain it once more. Let's imagine you want to include
libpulse into your app. Even if you load "lib/libpulse.so", there are
the following system libraries loaded:
ldd libpulse.so
                                                            0:12
        linux-vdso.so.1 (0x00007fff16e55000)
        libjson-c.so.2 => /usr/lib/libjson-c.so.2 (0x00007f3426770000)
        libpulsecommon-4.0.so =>
/usr/lib/pulseaudio/libpulsecommon-4.0.so (0x00007f3426503000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f34262bc000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f342609d000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f3425d9a000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f34259ef000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f34257cf000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f3425569000)
        libasyncns.so.0 => /usr/lib/libasyncns.so.0 (0x00007f3425363000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f342515a000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007f3426bf4000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f3424f56000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f3424d50000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f3424b1d000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f342464e000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f3424421000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f3424219000)
        libnsl.so.1 => /usr/lib/libnsl.so.1 (0x00007f3424001000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f3423dea000)

I'm not sure embedding libpulse is a good idea at all, but there might
be other libraries that matter. (openal and avbin seem to modest on
dependencies, though)

-- 
Paul

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to