Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

perlcc gives "ld: fatal: library -ldb: not found"

by gman (Friar)
on May 10, 2001 at 16:59 UTC ( #79382=perlquestion: print w/ replies, xml ) Need Help??
gman has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I'm attempting to use perlcc and having problems. So I stepped back and created a simple Looking for a direction. Here is the result of
perlcc Thanks in advance gman

perlcc ---------------------------------------------------------------------- +---------- Compiling ---------------------------------------------------------------------- +---------- Making C( for! /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr +/local/lib/perl5/5.00503 -I/usr/local/lib/perl5/site_perl/5.005/sun4- +solaris -I/usr/local/lib/perl5/site_perl/5.005 -I. -MO=CC, h syntax OK Compiling C(hi) for! /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr +/local/lib/perl5/5.00503 -I/usr/local/lib/perl5/site_perl/5.005/sun4- +solaris -I/usr/local/lib/perl5/site_perl/5.005 -I. /tmp/ gcc -I/usr/local/include -O -I/usr/local/lib/perl5/5.00503/sun4-solari +s/CORE /usr/local/lib/perl5/5.00503/sun4-solaris/auto/Fcntl/ +-o hi -L/usr/local/lib -L/usr/local/lib/perl5/5.00503/sun4-s +olaris/CORE -lperl -lsocket -lnsl -ldb -ldl -lm -lc -lcrypt ld: fatal: library -ldb: not found ld: fatal: File processing errors. No output written to hi collect2: ld returned 1 exit status ERROR: In compiling code for !

Title edit by tye

Comment on perlcc gives "ld: fatal: library -ldb: not found"
Download Code
Replies are listed 'Best First'.
Re: perlcc
by Masem (Monsignor) on May 10, 2001 at 17:23 UTC
    This line:
    ld: fatal: library -ldb: not found
    tells me that your system (not just perl) is missing, typically this comes with glibc/libc though I've seen it as a separate package for some distributions of Linux. Check your /usr/lib and /usr/local/lib for this library, and if not found, you should make sure it is installed for your particular platform.

    Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
      Thanks for your quick response, I'm running solaris 2.6 with gcc compiler and perl 5.005_03 sun4-colaris. I could not find this lib file anywhere on any of the three solaris box's I have.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://79382]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2015-10-04 22:47 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (105 votes), past polls