1 |
I got past the ncurses problem, but now I have a new one: While trying |
2 |
to build libperl for my cross-compilation environment (for i586) I get |
3 |
this error: |
4 |
|
5 |
I've tried to compile and run the following simple program: |
6 |
|
7 |
#include <stdio.h> |
8 |
int main() { printf("Ok\n"); return(0); } |
9 |
|
10 |
I used the command: |
11 |
|
12 |
i586-pc-linux-gnu-gcc -o try -O2 -march=i686 |
13 |
-fomit-frame-pointer -fno-strict-aliasing -pipe -L/usr/local/lib try.c |
14 |
-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc |
15 |
./try |
16 |
|
17 |
and I got the following output: |
18 |
|
19 |
/usr/lib/gcc/i586-pc-linux-gnu/3.4.4/../../../../i586-pc-linux-gnu/bin/ld: cannot find -lndbm |
20 |
collect2: ld returned 1 exit status |
21 |
I can't compile the test program. |
22 |
You have a BIG problem. Shall I abort Configure [y] |
23 |
Ok. Stopping Configure. |
24 |
|
25 |
I can't even figure out what package libndbm is part of, but somehow it |
26 |
got installed on my clientPC and on my server PC. I need to find it so |
27 |
that I can install it into the cross environment. Any help? |
28 |
|
29 |
-- |
30 |
gentoo-user@g.o mailing list |