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

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.

  • Comment on Re^9: How To Link -lperl to Extensions During Build

Replies are listed 'Best First'.
Re^10: How To Link -lperl to Extensions During Build
by cyd (Novice) on May 16, 2015 at 12:01 UTC

    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
Re^10: How To Link -lperl to Extensions During Build
by cyd (Novice) on May 16, 2015 at 15:47 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?