Re: Solaris 10 gcc 3.4.6 perl compile error HELP!




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
.



Relevant Pages

  • Re: configure problem
    ... > I can't compile the test program. ... > (The supplied flags or libraries might be incorrect.) ... alter the various db libraries in such a way that it takes something short ...
    (comp.lang.perl.misc)
  • gcc compiling perl on solaris
    ... Not strictly a perl question, but on the off-chance someone else has ... I am trying to compile perl 5.8.8 on Intel Solaris 10 with the gcc ... I can't compile the test program. ... (The supplied flags or libraries might be incorrect.) ...
    (perl.beginners)
  • Solaris 10 gcc 3.4.6 perl compile error HELP!
    ... I am tring to compile Perl 5.8.8 on a Solaris 10 box with gcc 3.4.6 ... I am at a total loss, ... I can't compile the test program. ... (The supplied flags or libraries might be incorrect.) ...
    (comp.lang.perl.misc)
  • Re: using PlaySound within a dll
    ... > I have a dll with a module, class and resource file. ... PlaySound has the capability to play a .wav file directly from the ... Compile your DLL. ...
    (microsoft.public.vb.winapi)
  • Re: Precompiled headers on C
    ... see how using C++ for the part of my program that manages the resource data ... No offence, but I really wish people would ask the question that has been ... header error when I try to compile it now. ...
    (microsoft.public.dotnet.languages.vc)