Re: Solaris 10 gcc 3.4.6 perl compile error HELP!
- From: Ben Morrow <ben@xxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 23:56:49 +0100
Quoth mancat <the.evil.alien@xxxxxxxxx>:
I am tring to compile Perl 5.8.8 on a Solaris 10 box with gcc 3.4.6
and am getting this error. I am at a total loss, So if someone could
point me to a resource or in the right direction that would be
GREAT!!!!!
thanks
-mancat
Checking your choice of C compiler and flags for coherency...
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:
gcc -o try -O -fno-strict-aliasing -pipe -Wdeclaration-after-
statement -I/usr/local/include -L/usr/local/lib try.c -lsocket -lnsl -
lgdbm -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.)
How did you run Configure? What is the whole output of Configure? Do you
have a -ldb?
Ben
.
- References:
- Solaris 10 gcc 3.4.6 perl compile error HELP!
- From: mancat
- Solaris 10 gcc 3.4.6 perl compile error HELP!
- Prev by Date: Re: why warn on undefined $1?
- Next by Date: Re: great and better hash eval
- Previous by thread: Solaris 10 gcc 3.4.6 perl compile error HELP!
- Next by thread: Re: Solaris 10 gcc 3.4.6 perl compile error HELP!
- Index(es):
Relevant Pages
|