Hi All-

I (obviously) am new to the whole 'compiling perl' thing, as I've always been able to use the natively supplied version. However, I am now required to compile a new instance of perl and apparently "have a BIG problem" Can anyone point me in the proper direction? (This occurs during a sh Configure -de on a SUN v10 4800.

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-s +tatement - I/usr/local/include -L/usr/local/lib try.c -lsocket -lnsl -ldb -ldl -l +m -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.
*******

adding new information

libdb.so does exist:
SunOS zg4800 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire new server # find / -name "libdb.so*" -print /usr/lib/sparcv9/libdb.so.1 /usr/lib/apoc/libdb.so.1 /usr/lib/libdb.so.1

In reply to Error during compilation of 5.8.8 on solaris 10 by mmakarczyk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.