[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building xfsdump...




minor problem with likely a real dumb error on my part in system configuration, but in trying to rebuild the rpm for xfsdump on my SuSE system, I got an error I don't understand (w/o, perhaps an extended period of examination) and was hoping someone might short-circuit my debugging of this issue:

I got:
...
checking for uuid_generate in -luuid... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lcurses... no

FATAL ERROR: could not find a valid curses library.
make: *** [include/builddefs] Error 1
Bad exit status from /var/tmp/rpm-tmp.20760 (%build)

checking for curses...
ishtar:/usr/src/packages> rpm -qa|grep curs
ncurses-5.2-386
ncurses-devel-5.2-386

locating curses...
ishtar:/usr/src/packages> locate curses|grep lib'
...
/usr/i486-linux-libc5/lib/libcurses.so.1
/usr/i486-linux-libc5/lib/libcurses.so.1.0.0
...
/usr/lib/curses
/usr/lib/curses/libcurses.a
/usr/lib/curses/libcurses.so
/usr/lib/libcurses.so.1
/usr/lib/libcurses.so.1.0.0

exploring curses libs...
ishtar:/usr/src/packages> nm /usr/lib/curses/libcurses.so|grep initscr 00004b70 T initscr ishtar:/usr/src/packages> nm /usr/lib/curses/libcurses.a|grep initscr  
initscr.o:
00000000 T initscr
......

	So what am I missing here?  Looks like I have something that appears to be a curses lib, and both the shared and static libs appear to have a symbol resembling initscr, so, um, what's missing?

Am I just cursed? :-|


TIA...
-linda