Shared double?

[email protected] (Johan Vromans)
Newsgroups perl.par
Organization Squirrel Consultancy
Message-ID <[email protected]>
Hi,

When shared libraries are packed it seems they are unpacked twice:

  /tmp/par-6a76/cache-XXX:
  -rw-r--r--  1 jv jv   43912 Jun 30 18:56 05726ab0.pm
  -rwxr-xr-x  1 jv jv   17054 Jun 30 18:56 0e41dd30.so
  ...
  -rw-r--r--  1 jv jv    8317 Jun 30 18:56 fe92a6f3.pm
  drwxr-xr-x  6 jv jv     160 Jun 30 18:56 inc
  -rw-r--r--  1 jv jv  205264 Jun 27  2015 libgconf-2.so.4
  -rw-r--r--  1 jv jv  459832 Jun 17  2015 libORBit-2.so.0
  -rwxr-x---  1 jv jv 1667280 Jun 30 18:56 libperl.so
  -rw-r--r--  1 jv jv  210264 Jun 15 10:20 libpng16.so.16

  /tmp/par-6a76/cache-XXX/inc/shlib/x86_64-linux-thread-multi:
  -rw-r--r-- 1 jv jv  205264 Jun 30 18:56 libgconf-2.so.4
  -rw-r--r-- 1 jv jv  459832 Jun 30 18:56 libORBit-2.so.0
  -rw-r--r-- 1 jv jv  210264 Jun 30 18:56 libpng16.so.16

Similar for modules:

  $ cd /tmp/par-6a76/cache-XXX
  $ diff 257f47fa.pm inc/lib/IO/Uncompress/Base.pm
  1c1
  < #line 1
    "/bulk/perlbrew/perls/citrus-5.16.3-wx-2.8/lib/IO/Uncompress/Base.pm"
    ---
  > #line 1 "IO/Uncompress/Base.pm"

Is this intended behaviour?

-- Johan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.