Re: [AD] less shared dependencies |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Tue, Aug 29, 2000 at 04:21:47PM +1100, Peter Wang wrote:
> George Foot <gfoot@xxxxxxxxxx> wrote:
> > It is, after all, possible for the shared Allegro library to
> > reference the lower level shared libraries itself.
>
> I assume something like this is already in CVS.
> `ldd' on `liballeg-3.9.34.so' gives:
>
> ldd: warning: you do not have execution permission for ./liballeg-3.9.34.so'
> /lib/libsafe.so.1.3 => /lib/libsafe.so.1.3 (0x400b0000)
> libc.so.6 => /lib/libc.so.6 (0x400bc000)
> libdl.so.2 => /lib/libdl.so.2 (0x401af000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> The list looks a little short?
Yes, it does. Here's mine:
gfoot@xxxxxxxxxx ~$ ldd /usr/local/lib/liballeg-3.9.33.so
ldd: warning: you do not have execution permission for `/usr/local/lib/liballeg-3.9.33.so'
libm.so.6 => /lib/libm.so.6 (0x400b5000)
libvga.so.1 => /usr/lib/libvga.so.1 (0x400d1000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4011a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40127000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x401cb000)
libc.so.6 => /lib/libc.so.6 (0x401d2000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x402c0000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
I'm assuming that your Allegro programs still work, even when
you link them dynamically. You should find that if you rename
your Allegro shared library, running ldd on those programs gives
just libc and the (missing) Allegro library.
What does "allegro-config --libs --static" tell you? The
libraries which are linked to the shared library are exactly
those appearing after the `-lalleg' in the static libraries
output by allegro-config.
George
--
Random project update:
22/06/2000: AllegroGL documentation: http://allegrogl.sourceforge.net/
See under `Documentation' for the AllegroGL Reference Manual in
various formats.