Skip to content

Cpan install failed on Android. #22627

@RajDave-Dev

Description

@RajDave-Dev

Module: local::lib

Description

As we all know starting from Android 10 execution of binary is forbidden on Android. To overcome this problem we execute the binary with /system/bin/linker64 binaryname arguments. So the problem here is we add prefix of the linker64 to the binary that is executing but when perl try to get its own exe it always return the linker64 not perl I tried to fix this and repaced /proc/self/exe with the perl path but it didn't work.
Steps to Reproduce

You can try this on termux on play store. Although I encountered this error in my app and also in termux.

Expected behavior

Should work as does in termux's GitHub varient.
Perl configuration

# perl -V output goes here This is perl 5, version 38, subversion 2 (v5.38.2) built for aarch64-android Copyright 1987-2023, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at https://www.perl.org/, the Perl Home Page. 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions