Depedency problem

Hello,

I get

/usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

. I do not understand this, because:

I use the correct building open-cobol compiler rpm package as dependency and can see (in log), that is installed. OpenCobol package also need ncurses and has the dependencies included.
Also why come this message and where is the problem?

(problematic package)

Thank you!

I think, you need ncurses-devel in BuildRequires.

Thanks it compiles, but why are open-cobol too less?