[Python-modules-team] Bug#626120: python-fltk: not functional when compiled with --as-needed

Julian Taylor jtaylor.debian at googlemail.com
Mon May 9 00:19:37 UTC 2011


Package: python-fltk
Version: 1.1.5-3
Severity: important

when compiled with the linker flag --as-needed linkage to openGL is missing and
the package fails to work:
https://bugs.launchpad.net/ubuntu/+source/pyfltk/+bug/779340

$ g++    -shared build/temp.linux-x86_64-2.7/./python/fltk_wrap.o build/temp
..linux-x86_64-2.7/./contrib/ListSelect.o build/temp.linux-
x86_64-2.7/./contrib/Fl_Table_Row.o build/temp.linux-
x86_64-2.7/./contrib/Fl_Table.o build/temp.linux-x86_64-2.7/./src/Fl_Gl_Stubs.o
-Llib -lfltk_images -lfltk_gl -lfltk_forms -lfltk -lfltk -o build/lib.linux-
x86_64-2.7/fltk/_fltk.so
/tmp/pyfltk-1.1.5$ ldd build/lib.linux-x86_64-2.7/fltk/_fltk.so | grep -i gl
libfltk_gl.so.1.1 => /usr/lib/libfltk_gl.so.1.1 (0x00007f2ea724f000)
        libGL.so.1 => /usr/lib/nvidia-current/libGL.so.1 (0x00007f2ea5b0b000)
        libnvidia-glcore.so.270.41.06 => /usr/lib/nvidia-current/libnvidia-
glcore.so.270.41.06 (0x00007f2ea2cf7000)

g++   -Wl,--as-needed -shared build/temp.linux-x86_64-2.7/./python/fltk_wrap.o
build/temp.linux-x86_64-2.7/./contrib/ListSelect.o build/temp.linux-
x86_64-2.7/./contrib/Fl_Table_Row.o build/temp.linux-
x86_64-2.7/./contrib/Fl_Table.o build/temp.linux-x86_64-2.7/./src/Fl_Gl_Stubs.o
-Llib -lfltk_images -lfltk_gl -lfltk_forms -lfltk -lfltk -o build/lib.linux-
x86_64-2.7/fltk/_fltk.so
/tmp/pyfltk-1.1.5$ ldd build/lib.linux-x86_64-2.7/fltk/_fltk.so | grep -i gl ||
echo "fail"
fail



-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty-proposed'), (500, 'natty-backports'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-9-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-fltk depends on:
ii  libc6                     2.13-0ubuntu13 Embedded GNU C Library: Shared lib
ii  libfltk1.1                1.1.10-3       Fast Light Toolkit - shared librar
ii  libgcc1                   1:4.6.0-3~ppa1 GCC support library
ii  libstdc++6                4.6.0-3~ppa1   The GNU Standard C++ Library v3
ii  python                    2.7.1-0ubuntu5 interactive high-level object-orie
ii  python2.6                 2.6.6-6ubuntu7 An interactive high-level object-o
ii  python2.7                 2.7.1-5ubuntu2 An interactive high-level object-o

python-fltk recommends no packages.

python-fltk suggests no packages.

-- no debconf information





More information about the Python-modules-team mailing list