Skip to content

Generate "libperl.a" In Addition To "libperl.so" #198

@wbraswell

Description

@wbraswell

Howdy @zakame & Perl Docker Team!

If I put this in a new Dockerfile:

FROM perl:stable-slim-bookworm
RUN find / -name libperl.*

Then it will give this output:

RUN find / -name libperl.*
/usr/local/lib/perl5/5.42.0/x86_64-linux-gnu/CORE/libperl.so
DONE 1.8s

However, the (incompatible) operating system package provides two files:

/usr/lib/x86_64-linux-gnu/libperl.a
/usr/lib/x86_64-linux-gnu/libperl.so

https://packages.ubuntu.com/plucky/amd64/libperl-dev/filelist

Believe it or not, some of us actually use the libperl.a file. :-)

However, it is incorrect to try and load apt-get install libperl-dev, because that would be mixing two different Perl builds together and can cause all kinds of crazy ABI incompatibilities etc.

So, can we please simply configure the Docker Perl build process to generate the libperl.a file along with the already-existing libperl.so file?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions