pharo-project / pharo-zeroconf

ZeroConf script generator for http://get.pharo.org
16 stars 16 forks source link

Linux VM contains duplicate libraries #38

Open Rinzwind opened 1 year ago

Rinzwind commented 1 year ago

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?