in reply to Re^9: How To Link -lperl to Extensions During Build
in thread How To Link -lperl to Extensions During Build

Here you go. Same error, FYI...

cyd's scratchpad
  • Comment on Re^10: How To Link -lperl to Extensions During Build

Replies are listed 'Best First'.
Re^11: How To Link -lperl to Extensions During Build
by Anonymous Monk on May 17, 2015 at 18:34 UTC

    When logging make output, it's useful to capture both stdout and stderr: "make >& LOG". But no matter.

    From the logs it appears the configure and make is correctly linking the shared objects against -lperl. However, the main perl executable itself is linked directly to libperl.so.

    Try the plain configure again, but override a make flag:

    make LLIBPERL='-L. -lperl'
    

    In case you get it to install, there's still the possibility that further config flags are going to be needed. Test by installing a cpan package by hand, e.g. List-MoreUtils-*.tar.gz. Unpack; cd; perl Makefile.PL && make && make install; see if it works.

      Thanks for the input. Two quick questions...1) do you want the build log for this? and 2) was that LIBPERL or LLIBPERL?

        In case the problem was finally resolved, then a follow-up to the OP is befitting. Couple lines to describe what went wrong where, and the corrective action taken.