[Bf-committers] Linux i386 strange dependancies

Alexander Ewering bf-committers@blender.org
Sun, 6 Jun 2004 23:16:40 +0200 (CEST)


Hello,

just tried to run Blender 2.33a (i386, dynamic) on a fresh Kanotix
(debian-based linux distro) install, got the following error:

./blender: error while loading shared libraries: libstdc++-libc6.2-2.so.3:
cannot open shared object file: No such file or directory

Doing an ldd blender, it revealed a complete chaos:

intrr@emotion:~/blender-2.33a-linux-glibc2.2.5-i386$ ldd blender
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40028000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4003e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4004c000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40113000)
        libutil.so.1 => /lib/libutil.so.1 (0x4011c000)
        libdl.so.2 => /lib/libdl.so.2 (0x4011f000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40122000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40173000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40184000)
        libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x40275000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x402d3000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x4034e000)
        libm.so.6 => /lib/libm.so.6 (0x40407000)
        libc.so.6 => /lib/libc.so.6 (0x40429000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4055c000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x405ad000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x405b7000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x405ce000)
        libvga.so.1 => /usr/lib/libvga.so.1 (0x4067b000)
        libaa.so.1 => /usr/lib/libaa.so.1 (0x406e0000)
        libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x406fc000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40bb2000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x40bba000)
        libslang.so.1 => /lib/libslang.so.1 (0x40bf9000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40c6d000)


- First of all: Why does blender require exactly THIS version of libstdc++ ?
  It should rather be linked to a more general library, like libstdc++.so.5.

- What is libvga needed for?

- What is libaa (an ASCII ART library!) needed for?

- ncurses? Did I miss Blender's text mode? :-)

- libgpm? libslang? never heard of those.


The dependancies on curses, libvga, libaa, libslang and libgpm are probably
'bareable' if you install the libraries (even though they make no sense),
but the dependancy on one explicit version of libstdc++ is simply wrong and
shows a broken build system.



| alexander ewering               instinctive new media
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de