Re: [AD] library dependencies...

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2004-01-04, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> Ok, I have a quite recent CVS version of allegro installed... (fyi)
> 
> And I was under the impression that the dynamic loading of "drivers" fixed 
> apps getting linked to libraries like libXxf86dga.so.1 and ibXxf86vm.so.1...
> 
> yet heres a ldd of an allegro app:
> 
> moose@xxxxxxxxxx strangegame $ ldd sg
>         liballeg.so.4.1 => /usr/local/lib/liballeg.so.4.1 (0x4002b000)
>         libc.so.6 => /lib/libc.so.6 (0x400f3000)
>         libm.so.6 => /lib/libm.so.6 (0x4021c000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x4023e000)
>         libXxf86dga.so.1 => /usr/X11R6/lib/libXxf86dga.so.1 (0x4028e000)
>         libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x40294000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4029b000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402ab000)
>         libdl.so.2 => /lib/libdl.so.2 (0x4038b000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> I assumed the driver .so files are linked to the X and other libs...

My linker options seem different.

$ ldd examples/exhello
        liballeg.so.4.1 => /usr/local/lib/liballeg.so.4.1 (0x40023000)
        libm.so.6 => /lib/libm.so.6 (0x400ef000)
        libc.so.6 => /lib/libc.so.6 (0x40112000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40244000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40295000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402a3000)
        libdl.so.2 => /lib/libdl.so.2 (0x4036a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
$ make info
 Some drivers will be built as dynamic modules.
 Enabled modules: dga2 svgalib fbcon vbeaf vga ossmidi ossdigi
 Disabled modules: sgialdigi artsdigi esddigi alsamidi alsadigi
 Generated code: multithreaded, little endian, i386 asm, MMX, SSE




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/