Thank you marto (+++),

That link, though outdated, really helped. I found a 4-year old tutorial for installing libdb4.8-dev and libdb4.8++-dev, so I searched apt-cache and found libdb5.3-dev and libdb5.3++-dev. After installing both of these building Perl's BerkeleyDB and MLDBM with cpanm both worked perfectly; no errors. My biased observation; my bad. I should have read the README :-( When all else fails, read the documentation. Without Monks to fall back on, I would be up the proverbial creek without a paddle. I have Geodesic great circle calculators written in C and Perl that use Berkeley DB I am very proud of and don't wish to lose. One uses spherical calculus, as in:

greatCircleBDB.pl* mapHashBDB 'Renton, WA' 'Redmond, OR'

Calculate great-circle distance between: Renton, WA: 0.828799, -2.132710 and, Redmond, OR: 0.772381, -2.114462. Geodesics in radians. GCD (Spherical Law of Cosines) between Renton, WA and Redmond, OR: 368 +.430 km, (198.936 NM). GCD (Haversine) between Renton, WA and Redmond, OR: 368.430 km, (198.936 NM). GCD (Vincenty inverse formula) between Renton, WA and Redmond, OR: 368 +.336 km, (198.885 NM).

I can now continue exploring using Perl to solve advanced math problems, my hobby now that I'm retired (math minor from UofI, 1971. Crypto next up...

Thanks again.


In reply to Re^2: Installing BerkeleyDB in WSL/ubuntu by perlboy_emeritus
in thread Installing BerkeleyDB in WSL/ubuntu by perlboy_emeritus

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.