On Tue, Nov 22, 2011 at 9:59 AM, Ilya Chernykh
On Tuesday 22 November 2011 18:51:05 you wrote:
-ltinfo needs to be added after -lncurses(w)
Still fails:
gcc -L/usr/lib/qt3/lib64 -L/opt/kde3/lib64 -L/usr/lib64 -lkdecore -lkdeui -lkio -lqt-mt -lkparts -lDCOP -ldl -lstdc++ -lncurses -ltinfo -L/usr/lib64 -Wl,-Bsymbolic-functions -L/usr/local/lib -o vim
All the libs above will not be used for linking (including your -ltinfo) because they come before any .o files.
In that case the package would not build for any release, not only Factory.
Ilya, RE: Werner's recommended fix Did you try just updating your makefile.ac with the equivalent of: AC_SEARCH_LIBS(tgetent, termlib termcap tinfo curses ncurses) tgetent should be replaced by whatever symbol your having troubles with. I just added a patch to do that to a package I maintain, and all is good: https://build.opensuse.org/package/view_file?file=afflib-3.6.12-split-ncurses.patch&package=afflib&project=security&rev=cc1bbbe22aafdb871c51ce7dfcba9199 I made no other changes. The auto tools took it from there. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org