Hello all, first I would like to apologize if I am making any English mistakes, I am not a native speaker. Then, I have a problem with installing perl. My os is OS X Yosemite 10.10.5. It comes with preinstalled perl version 5.16.3. I still wanted to install a more recent version of perl... But I am unable to do so. I always get into the same error, whatever I try to install it (either using Perlbrew or trying to compile myself from the terminal with the "make" command). The error is the following: (I just put here the end of the log file displaying the error) :
" ld: library not found for -lgcc_s.10.4 clang: error: linker command failed with exit code 1 (use -v to see in +vocation) make[1]: *** [../../lib/auto/B/B.bundle] Error 1 rm -f ../../lib/auto/B/B.bundle env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_looku +p -L/usr/local/lib -L/opt/local/lib -fstack-protector-strong B.o -o +../../lib/auto/B/B.bundle \ \ ld: library not found for -lgcc_s.10.4 clang: error: linker command failed with exit code 1 (use -v to see in +vocation) make[1]: *** [../../lib/auto/B/B.bundle] Error 1 Unsuccessful make(ext/B): code=512 at make_ext.pl line 574. make: *** [lib/auto/B/B.bundle] Error 25 "
This is just driving me crazy as I have no idea of how to solve it. I have to add I have installed XCode and command lines tool for os x, that should include all I need for perl compilation (at least this is my understanding). Thank you monks for any clue on how to solve that problem. PS: I have tried to be as clear as possible and include all relevant information, let me know if something is missing.

In reply to Unable to compile perl by Alessandro

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.