Version: (using KDE 4.0.2) Installed from: Gentoo Packages Compiler: gcc 4.2.3 OS: Linux superkaramba fails in the linking stage if LDFLAGS="-Wl,--as-neede" is passed. /usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc': (.text+0x126): undefined reference to `dlsym' /usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc': (.text+0x1a0): undefined reference to `dlopen' /usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc': (.text+0x1d0): undefined reference to `dlsym' /usr/lib/python2.5/config/libpython2.5.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc': (.text+0x24d): undefined reference to `dlerror' /usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_forkpty': (.text+0x3843): undefined reference to `forkpty' /usr/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_openpty': (.text+0x38c1): undefined reference to `openpty' collect2: ld gab 1 als Ende-Status zurück There's a patch by Steffen Hau in gentoo portage which I'll attach.
Created attachment 23924 [details] superkaramba-4.0.1-as-needed.patch Patch by Steffen Hau to fix linking with --as-needed
SVN commit 950778 by coles: Applied patch by Steffen Hau to fix linking with --as-needed. BUG: 159421 M +11 -0 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=950778