Bug#556378: libncurses5-dev: Impossible to build a program with -static
Package: libncurses5-dev
Version: 5.7+20081213-1
Severity: important
*** Please type your report below this line ***
The fault is completely independent of the kernel - or debian-version.
Building a program using libnurses of the type shared objects, *.so, runs
without error or warnings (using -Wall). But using the static version
produces these messages:
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libncurses.a(lib_mouse.o):
In function `load_gpm_library':
(.text+0x6eb): undefined reference to `dlopen'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libncurses.a(lib_mouse.o):
In function `load_gpm_library':
(.text+0x713): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libncurses.a(lib_mouse.o):
In function `load_gpm_library':
(.text+0x73b): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libncurses.a(lib_mouse.o):
In function `load_gpm_library':
(.text+0x75f): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libncurses.a(lib_mouse.o):
In function `load_gpm_library':
(.text+0x783): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libncurses.a(lib_mouse.o):
In function `load_gpm_library':
(.text+0x7da): undefined reference to `dlclose'
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libncurses.a(lib_mouse.o):
In function `enable_gpm_mouse':
(.text+0x832): undefined reference to `dlclose'
collect2: ld gab 1 als Ende-Status zurück
The severity is important, because you are forced to have ncurses installed on
a computer, or the program will not run.
-- System Information:
Debian Release: 5.0.3
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages libncurses5-dev depends on:
ii libc6-dev [libc-dev] 2.7-18lenny1 GNU C Library: Development
Librari
ii libncurses5 5.7+20081213-1 shared libraries for terminal
hand
libncurses5-dev recommends no packages.
libncurses5-dev suggests no packages.
-- no debconf information
Reply to: