"I tried those suggestions, but I still always run into the same error (example output provided below)."

It looks like you've hit the 64K limit: your output is truncated. Where you previously had

... -lpthread -ldl lmm -lutil -lc

followed by an error; you now have

... -lpthread -ldl -lm -lutil -lc

with no error. And no subsequent errors to the end of what's posted.

"I don't know whether it's perhaps something to do with the new 'System Integrity Protection' feature of MacOS limiting access etc?"

That shouldn't be an issue. I investigated SIP before upgrading to whatever version had that (10.10.x?). I have the default SIP configuration; I haven't changed anything associated with it; Perl installations work fine.

"In any case, I've switched to using Macports and things seem to be working okay. I'm using a local version of Perl in /opt/local/bin/ instead of the system Perl."

At least you now have a working Perl that isn't the System Perl.

— Ken


In reply to Re^5: Perl DBI installation problem on MacOS Sierra - Can't open blib/lib/DBI/Util/ by kcott
in thread Perl DBI installation problem on MacOS Sierra - Can't open blib/lib/DBI/Util/ by Nanjizal

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.