I got past the ncurses problem, but now I have a new one:  While trying
to build libperl for my cross-compilation environment (for i586) I get
this error:

I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

        i586-pc-linux-gnu-gcc -o try -O2 -march=i686
-fomit-frame-pointer -fno-strict-aliasing -pipe -L/usr/local/lib try.c
-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
         ./try

and I got the following output:

/usr/lib/gcc/i586-pc-linux-gnu/3.4.4/../../../../i586-pc-linux-gnu/bin/ld: 
cannot find -lndbm
collect2: ld returned 1 exit status
I can't compile the test program.
You have a BIG problem.  Shall I abort Configure [y]
Ok.  Stopping Configure.

I can't even figure out what package libndbm is part of, but somehow it
got installed on my clientPC and on my server PC.  I need to find it so
that I can install it into the cross environment.  Any help?

-- 
gentoo-user@gentoo.org mailing list

Reply via email to