OpenSSH 4.6p1 build problem on opensuse10.2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

When building openssh4.6p1 on opensuse 10.2, I cannot get the build to
work with libedit.

I have added explicit lines to LDFLAGS to point to both /usr/lib64/ and /usr/lib64/ and the build still fails.

Any ideas?

PS: the build works without libedit.

I have both libedit and ncurses libraries and the includes installed
and I get from config.log:

configure:11776: checking for el_init in -ledit
configure:11812: gcc -o conftest -g -O2 -Wall -Wpointer-arith -
Wuninitialized -Wsign-compare -Wno-pointer-sign -std=gnu99
conftest.c -ledit  -lcurses
         -lutil -lz -lnsl  >&5
bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
configure:11818: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "OpenSSH"
| main ()
| {
| return el_init ();
|   ;
|   return 0;
| }
configure:11836: result: no
configure:11849: error: libedit not found

Site Timeline