Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include int main() { printf("Ok\n"); return(0); } I used the command: gcc -o try -O -fno-strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/include -L/usr/local/lib try.c -lsocket -lnsl -ldb -ldl -lm -lc ./try and I got the following output: ld: fatal: library -ldb: not found ld: fatal: File processing errors. No output written to try collect2: ld returned 1 exit status I can't compile the test program. (The supplied flags or libraries might be incorrect.) You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure.