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

Information posted

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

Replies are listed 'Best First'.
Re^9: How To Link -lperl to Extensions During Build
by Anonymous Monk on May 15, 2015 at 19:41 UTC

    There's also the README.android - have you looked at those suggestions?

    Try a plain

    Configure -des -Dprefix=... -Dsysroot=... -Alibpth=... -Duseshrplib
    
    with appropriate values filled in, if you haven't already. Pastebin the make output.

      I did before but will do again and pastebin results. Also I did review README.android


      (FYI, pastebin is having a spring sale...$30 for a lifetime, never-expiring, PRO account. Is the Monastery in need of such a thing?)

        "(FYI, pastebin is having a spring sale...$30 for a lifetime, never-expiring, PRO account. Is the Monastery in need of such a thing?)"

        No, posting using the appropriate tags is sufficent for the vast majority of usage cases.

        pastebins are for irc chats, not websites like perlmonks -- using a pastebin just makes your post here incomplete/incoherent/halfsided

        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.