Skip to content

Linux VM contains duplicate libraries #38

@Rinzwind

Description

@Rinzwind

On Linux, the VM installed through get.pharo.org contains duplicate libraries. See the following Dockerfile:

FROM centos:7
RUN yum install -y epel-release && \
  yum install -y which curl unzip rdfind && \
  yum clean all && rm -rf /var/cache/yum
RUN curl https://get.pharo.org | bash
CMD rdfind pharo* && cat results.txt

The output shows:

…
It seems like you have 40 files that are not unique
Totally, 120 MiB can be reduced.
…
DUPTYPE_FIRST_OCCURRENCE 65 1 521853 166 1704966 3 pharo-vm/lib/libssl.so
DUPTYPE_WITHIN_SAME_TREE -65 1 521853 166 1704967 3 pharo-vm/lib/libssl.so.1.0.0
…

Shouldn’t this be set up so that libssl.so is a symbolic link to, rather than a copy of, libssl.so.1.0.0?

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