This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Description
If ExifTool is used, binary compiled using perlcc depends on Config.so and Cwd.so, even if --static/--staticxs is used.
The reason might be that ExifTool utilizes Config.so .
The problem is that the binary compiled requires cperl installation and is not portable any more.
That is to say, the binary cannot run on another machine without cperl at the expected position.
Output of strace is shown below
stat("/usr/local/lib/cperl/5.30.0/x86_64-linux/auto/Config/Config.so", 0x7f4f8d872ba0) = -1 ENOENT (No such file or directory)
write(2, "Error: load_file /usr/local/lib/"..., 90Error: load_file /usr/local/lib/cperl/5.30.0/x86_64-linux/auto/Config/Config.so not found
) = 90
Could you suggest how to build the "true" static binary under this circumstance ? Many thanks !