Perl cannot be installed inside Toolbox: glibc error

I have a script to sort photos, it relies on exiftool which is not available in the repos. I thought I would install it inside toolbox but I would need Perl for that:

⬢ somewhat shorter output from the toolbox ⬢
$ toolbox create --container foto
Created container: foto
Enter with: toolbox enter --container foto

$ toolbox enter --container foto
⬢[user@toolbox]$ sudo dnf install perl

Fedora Modular 30 - x86_64                      546 kB/s | 1.9 MB     00:03    
Fedora Modular 30 - x86_64 - Updates            795 kB/s | 2.9 MB     00:03    
Fedora 30 - x86_64 - Updates                    1.4 MB/s |  24 MB     00:17    
Fedora 30 - x86_64                              1.7 MB/s |  61 MB     00:36    :-- ETA
Last metadata expiration check: 0:00:01 ago on Thu Sep 19 21:10:50 2019.
Dependencies resolved.
================================================================================
 Package                        Arch     Version                Repo       Size
================================================================================
Installing:
 perl                           x86_64   4:5.28.2-440.fc30      updates    20 k
Upgrading:
 file-libs                      x86_64   5.36-4.fc30            updates   544 k
 glibc                          x86_64   2.29-22.fc30           updates   4.0 M
 glibc-common                   x86_64   2.29-22.fc30           updates   838 k
 glibc-minimal-langpack         x86_64   2.29-22.fc30           updates    47 k
 libxcrypt                      x86_64   4.4.9-1.fc30           updates   123 k
 libxcrypt-compat               x86_64   4.4.9-1.fc30           updates    96 k
 perl-Errno                     x86_64   1.29-440.fc30          updates    23 k
 perl-interpreter               x86_64   4:5.28.2-440.fc30      updates   6.4 M
 perl-libs                      x86_64   4:5.28.2-440.fc30      updates   1.7 M
Installing dependencies:
 annobin                        x86_64   8.71-3.fc30            updates   107 k
 cpp                            x86_64   9.2.1-1.fc30           updates   9.8 M
 file                           x86_64   5.36-4.fc30            updates    48 k
 gcc                            x86_64   9.2.1-1.fc30           updates    23 M
 gcc-c++                        x86_64   9.2.1-1.fc30           updates    12 M
 glibc-devel                    x86_64   2.29-22.fc30           updates   1.0 M
 glibc-headers                  x86_64   2.29-22.fc30           updates   473 k
 kernel-headers                 x86_64   5.2.15-200.fc30        updates   1.2 M
 libgomp                        x86_64   9.2.1-1.fc30           updates   220 k
 libstdc++-devel                x86_64   9.2.1-1.fc30           updates   2.1 M
 libxcrypt-devel                x86_64   4.4.9-1.fc30           updates    35 k
 nim-srpm-macros                noarch   2-1.fc30               updates   8.2 k
 perl-Archive-Zip               noarch   1.65-1.fc30            updates   102 k
 perl-Attribute-Handlers        noarch   1.01-440.fc30          updates    36 k
 perl-DB_File                   x86_64   1.852-1.fc30           updates    79 k
 perl-Devel-PPPort              x86_64   3.51-1.fc30            updates   122 k
 perl-Devel-Peek                x86_64   1.27-440.fc30          updates    41 k
 perl-Devel-SelfStubber         noarch   1.06-440.fc30          updates    23 k
 perl-ExtUtils-Embed            noarch   1.35-440.fc30          updates    26 k
 perl-ExtUtils-Miniperl         noarch   1.08-440.fc30          updates    24 k
 perl-IO-Zlib                   noarch   1:1.10-440.fc30        updates    28 k
 perl-IPC-Cmd                   noarch   2:1.04-1.fc30          updates    40 k
 perl-Locale-Codes              noarch   3.62-1.fc30            updates   310 k
 perl-Locale-Maketext-Simple    noarch   1:0.21-440.fc30        updates    26 k
 perl-Math-Complex              noarch   1.59-440.fc30          updates    56 k
 perl-Memoize                   noarch   1.03-440.fc30          updates    66 k
 perl-Module-CoreList           noarch   1:5.20190820-1.fc30    updates    85 k
 perl-Module-CoreList-tools     noarch   1:5.20190820-1.fc30    updates    18 k
 perl-Module-Loaded             noarch   1:0.08-440.fc30        updates    22 k
 perl-Module-Metadata           noarch   1.000036-1.fc30        updates    36 k
 perl-Net-Ping                  noarch   2.62-440.fc30          updates    49 k
 perl-Pod-Html                  noarch   1.24-440.fc30          updates    35 k
 perl-SelfLoader                noarch   1.25-440.fc30          updates    30 k
 perl-Test                      noarch   1.31-440.fc30          updates    37 k
 perl-Text-Template             noarch   1.55-2.fc30            updates    61 k
 perl-Time-Piece                x86_64   1.33-440.fc30          updates    49 k
 perl-devel                     x86_64   4:5.28.2-440.fc30      updates   769 k
 perl-libnetcfg                 noarch   4:5.28.2-440.fc30      updates    25 k
 perl-open                      noarch   1.11-440.fc30          updates    25 k
 perl-utils                     noarch   5.28.2-440.fc30        updates    76 k
 python3-pyparsing              noarch   2.4.0-1.fc30           updates   142 k
 qt5-srpm-macros                noarch   5.12.4-1.fc30          updates   8.9 k
 redhat-rpm-config              noarch   130-1.fc30             updates    63 k
 rust-srpm-macros               noarch   10-1.fc30              updates   9.5 k
 systemtap-sdt-devel            x86_64   4.1-2.fc30             updates    69 k
 binutils                       x86_64   2.31.1-29.fc30         fedora    5.6 M
 dwz                            x86_64   0.12-10.fc30           fedora    102 k
 efi-srpm-macros                noarch   4-2.fc30               fedora     23 k
 fpc-srpm-macros                noarch   1.2-1.fc30             fedora    7.5 k
 gc                             x86_64   7.6.4-5.fc30           fedora     93 k
 ghc-srpm-macros                noarch   1.4.2-9.fc30           fedora    7.6 k
 gnat-srpm-macros               noarch   4-9.fc30               fedora    8.5 k
 go-srpm-macros                 noarch   2-19.fc30              fedora     11 k
 guile22                        x86_64   2.2.4-3.fc30           fedora    6.4 M
 isl                            x86_64   0.16.1-8.fc30          fedora    796 k
 libatomic_ops                  x86_64   7.6.6-2.fc30           fedora     34 k
 libdatrie                      x86_64   0.2.9-9.fc30           fedora     29 k
 libmpc                         x86_64   1.1.0-3.fc30           fedora     56 k
 libthai                        x86_64   0.1.28-2.fc30          fedora    199 k
 libtool-ltdl                   x86_64   2.4.6-29.fc30          fedora     34 k
 make                           x86_64   1:4.2.1-13.fc30        fedora    482 k
 ocaml-srpm-macros              noarch   5-5.fc30               fedora    7.7 k
 openblas-srpm-macros           noarch   2-5.fc30               fedora    7.3 k
 perl-Algorithm-Diff            noarch   1.1903-12.fc30         fedora     48 k
 perl-Archive-Tar               noarch   2.32-2.fc30            fedora     73 k
 perl-B-Debug                   noarch   1.26-419.fc30          fedora     25 k
 perl-CPAN                      noarch   2.26-1.fc30            fedora    564 k
 perl-CPAN-Meta                 noarch   2.150010-418.fc30      fedora    181 k
 perl-CPAN-Meta-Requirements    noarch   2.140-419.fc30         fedora     32 k
 perl-CPAN-Meta-YAML            noarch   0.018-419.fc30         fedora     26 k
 perl-Compress-Bzip2            x86_64   2.26-10.fc30           fedora     66 k
 perl-Compress-Raw-Bzip2        x86_64   2.084-2.fc30           fedora     32 k
 perl-Compress-Raw-Zlib         x86_64   2.084-2.fc30           fedora     57 k
 perl-Config-Perl-V             noarch   0.31-2.fc30            fedora     21 k
 perl-Data-OptList              noarch   0.110-9.fc30           fedora     26 k
 perl-Data-Section              noarch   0.200007-6.fc30        fedora     25 k
 perl-Devel-Size                x86_64   0.82-4.fc30            fedora     29 k
 perl-Digest-SHA                x86_64   1:6.02-5.fc30          fedora     61 k
 perl-Encode-devel              x86_64   4:3.01-10.fc30         fedora     42 k
 perl-Env                       noarch   1.04-418.fc30          fedora     19 k
 perl-ExtUtils-CBuilder         noarch   1:0.280231-1.fc30      fedora     47 k
 perl-ExtUtils-Command          noarch   1:7.34-419.fc30        fedora     14 k
 perl-ExtUtils-Install          noarch   2.14-419.fc30          fedora     45 k
 perl-ExtUtils-MM-Utils         noarch   1:7.34-419.fc30        fedora     12 k
 perl-ExtUtils-MakeMaker        noarch   1:7.34-419.fc30        fedora    296 k
 perl-ExtUtils-Manifest         noarch   1:1.72-1.fc30          fedora     34 k
 perl-ExtUtils-ParseXS          noarch   1:3.39-419.fc30        fedora    188 k
 perl-File-Fetch                noarch   0.56-418.fc30          fedora     31 k
 perl-File-HomeDir              noarch   1.004-4.fc30           fedora     58 k
 perl-File-Which                noarch   1.23-2.fc30            fedora     21 k
 perl-Filter                    x86_64   2:1.59-2.fc30          fedora     78 k
 perl-Filter-Simple             noarch   0.95-418.fc30          fedora     27 k
 perl-IO-Compress               noarch   2.084-2.fc30           fedora    248 k
 perl-IPC-SysV                  x86_64   2.07-419.fc30          fedora     41 k
 perl-IPC-System-Simple         noarch   1.25-21.fc30           fedora     39 k
 perl-Importer                  noarch   0.025-4.fc30           fedora     40 k
 perl-JSON-PP                   noarch   1:4.02-1.fc30          fedora     69 k
 perl-Locale-Maketext           noarch   1.29-419.fc30          fedora     96 k
 perl-MIME-Charset              noarch   1.012.2-7.fc30         fedora     49 k
 perl-MRO-Compat                noarch   0.13-7.fc30            fedora     19 k
 perl-Math-BigInt               noarch   1:1.9998.16-2.fc30     fedora    194 k
 perl-Math-BigInt-FastCalc      x86_64   0.500.800-2.fc30       fedora     25 k
 perl-Math-BigRat               noarch   0.2614-4.fc30          fedora     39 k
 perl-Module-Build              noarch   2:0.42.24-11.fc30      fedora    268 k
 perl-Module-Load               noarch   1:0.34-1.fc30          fedora     17 k
 perl-Module-Load-Conditional   noarch   0.68-418.fc30          fedora     22 k
 perl-Package-Generator         noarch   1.106-14.fc30          fedora     23 k
 perl-Params-Check              noarch   1:0.38-418.fc30        fedora     22 k
 perl-Params-Util               x86_64   1.07-26.fc30           fedora     37 k
 perl-Perl-OSType               noarch   1.010-420.fc30         fedora     23 k
 perl-PerlIO-via-QuotedPrint    noarch   0.08-418.fc30          fedora     13 k
 perl-Pod-Checker               noarch   4:1.73-418.fc30        fedora     31 k
 perl-Pod-Parser                noarch   1.63-419.fc30          fedora    106 k
 perl-Software-License          noarch   0.103014-2.fc30        fedora    133 k
 perl-Sub-Exporter              noarch   0.987-18.fc30          fedora     68 k
 perl-Sub-Install               noarch   0.928-18.fc30          fedora     22 k
 perl-Sys-Syslog                x86_64   0.35-419.fc30          fedora     46 k
 perl-Term-Size-Perl            x86_64   0.031-4.fc30           fedora     21 k
 perl-Term-Table                noarch   0.013-2.fc30           fedora     41 k
 perl-Test-Harness              noarch   1:3.42-419.fc30        fedora    276 k
 perl-Test-Simple               noarch   2:1.302162-1.fc30      fedora    513 k
 perl-Text-Balanced             noarch   2.03-418.fc30          fedora     57 k
 perl-Text-Diff                 noarch   1.45-5.fc30            fedora     41 k
 perl-Text-Glob                 noarch   0.11-7.fc30            fedora     14 k
 perl-Thread-Queue              noarch   3.13-2.fc30            fedora     21 k
 perl-Time-HiRes                x86_64   1.9760-1.fc30          fedora     57 k
 perl-Unicode-Collate           x86_64   1.27-2.fc30            fedora    691 k
 perl-autodie                   noarch   2.29-419.fc30          fedora     96 k
 perl-bignum                    noarch   0.51-2.fc30            fedora     43 k
 perl-encoding                  x86_64   4:2.22-10.fc30         fedora     63 k
 perl-experimental              noarch   0.020-4.fc30           fedora     21 k
 perl-inc-latest                noarch   2:0.500-12.fc30        fedora     24 k
 perl-local-lib                 noarch   2.000024-5.fc30        fedora     68 k
 perl-perlfaq                   noarch   5.20190126-2.fc30      fedora    385 k
 perl-srpm-macros               noarch   1-29.fc30              fedora    8.2 k
 perl-version                   x86_64   7:0.99.24-6.fc30       fedora     62 k
 python-srpm-macros             noarch   3-42.fc30              fedora     11 k
 sombok                         x86_64   2.4.0-9.fc30           fedora     45 k
Installing weak dependencies:
 glibc-langpack-en              x86_64   2.29-22.fc30           updates   818 k
 perl-Term-Size-Any             noarch   0.002-27.fc30          updates    13 k
 perl-Encode-Locale             noarch   1.05-12.fc30           fedora     19 k
 perl-Unicode-LineBreak         x86_64   2019.001-2.fc30        fedora    120 k

Transaction Summary
================================================================================
Install  143 Packages
Upgrade    9 Packages

Total download size: 87 M
Is this ok [y/N]: y
Downloading Packages:
...
...
...
[DRPM 1/2] perl-libs-5.28.2-439.fc30_5.28.2-440.fc30.x86_64.drpm: done         
[DRPM 2/2] perl-interpreter-5.28.2-439.fc30_5.28.2-440.fc30.x86_64.drpm: done  
--------------------------------------------------------------------------------
Total                                           1.6 MB/s |  80 MB     00:51     
Delta RPMs reduced 87.0 MB of updates to 79.9 MB (8.1% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Upgrading        : glibc-common-2.29-22.fc30.x86_64                     1/161 
  Running scriptlet: glibc-2.29-22.fc30.x86_64                            2/161 
  Upgrading        : glibc-2.29-22.fc30.x86_64                            2/161 
  Running scriptlet: glibc-2.29-22.fc30.x86_64                            2/161 
  Installing       : glibc-langpack-en-2.29-22.fc30.x86_64                3/161 
  Upgrading        : libxcrypt-4.4.9-1.fc30.x86_64                        4/161 
  Upgrading        : perl-libs-4:5.28.2-440.fc30.x86_64                   5/161 
...
...
...
  Running scriptlet: binutils-2.31.1-29.fc30.x86_64                      96/161 
/bin/sh: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5
warning: %post(binutils-2.31.1-29.fc30.x86_64) scriptlet failed, exit status 127

Error in POSTIN scriptlet in rpm package binutils
  Installing       : dwz-0.12-10.fc30.x86_64                             97/161 
...
...
...
  Installing       : kernel-headers-5.2.15-200.fc30.x86_64              127/161 
  Running scriptlet: glibc-headers-2.29-22.fc30.x86_64                  128/161 
/bin/sh: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5
error: %prein(glibc-headers-2.29-22.fc30.x86_64) scriptlet failed, exit status 127

Error in PREIN scriptlet in rpm package glibc-headers
  Installing       : libxcrypt-devel-4.4.9-1.fc30.x86_64                129/161 
error: glibc-headers-2.29-22.fc30.x86_64: install failed

  Installing       : glibc-devel-2.29-22.fc30.x86_64                    130/161 
...
...
...
  Cleanup          : libxcrypt-4.4.7-1.fc30.x86_64                      158/161 
  Cleanup          : glibc-2.29-15.fc30.x86_64                          159/161 
  Cleanup          : glibc-minimal-langpack-2.29-15.fc30.x86_64         160/161 
  Cleanup          : glibc-common-2.29-15.fc30.x86_64                   161/161 
  Running scriptlet: glibc-common-2.29-15.fc30.x86_64                   161/161 
/bin/sh: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5
warning: %triggerin(man-db-2.8.4-4.fc30.x86_64) scriptlet failed, exit status 127

Error in <unknown> scriptlet in rpm package glibc-common
/bin/sh: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5
warning: %triggerpostun(glibc-common-2.29-22.fc30.x86_64) scriptlet failed, exit status 127

Error in <unknown> scriptlet in rpm package glibc-common
/bin/sh: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5
warning: %triggerpostun(man-db-2.8.4-4.fc30.x86_64) scriptlet failed, exit status 127

Error in <unknown> scriptlet in rpm package glibc-common
  Running scriptlet: glibc-common-2.29-22.fc30.x86_64                   161/161 
/bin/sh: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5
warning: %triggerin(glibc-common-2.29-22.fc30.x86_64) scriptlet failed, exit status 127

Error in <unknown> scriptlet in rpm package glibc-common
  Verifying        : annobin-8.71-3.fc30.x86_64                           1/161
...
...
...
  Verifying        : perl-libs-4:5.28.2-439.fc30.x86_64                 161/161 

Upgraded:
  file-libs-5.36-4.fc30.x86_64       glibc-2.29-22.fc30.x86_64                 
  glibc-common-2.29-22.fc30.x86_64   glibc-minimal-langpack-2.29-22.fc30.x86_64
  libxcrypt-4.4.9-1.fc30.x86_64      libxcrypt-compat-4.4.9-1.fc30.x86_64      
  perl-Errno-1.29-440.fc30.x86_64    perl-interpreter-4:5.28.2-440.fc30.x86_64 
  perl-libs-4:5.28.2-440.fc30.x86_64

Installed:
  perl-4:5.28.2-440.fc30.x86_64                                                 
  glibc-langpack-en-2.29-22.fc30.x86_64                                         
  perl-Term-Size-Any-0.002-27.fc30.noarch                                       
  perl-Encode-Locale-1.05-12.fc30.noarch                                        
  perl-Unicode-LineBreak-2019.001-2.fc30.x86_64                                 
  annobin-8.71-3.fc30.x86_64                                                    
  cpp-9.2.1-1.fc30.x86_64                                                       
  file-5.36-4.fc30.x86_64                                                       
  gcc-9.2.1-1.fc30.x86_64                                                       
  gcc-c++-9.2.1-1.fc30.x86_64                                                   
  glibc-devel-2.29-22.fc30.x86_64                                               
  kernel-headers-5.2.15-200.fc30.x86_64                                         
  libgomp-9.2.1-1.fc30.x86_64                                                   
  libstdc++-devel-9.2.1-1.fc30.x86_64                                           
  libxcrypt-devel-4.4.9-1.fc30.x86_64                                           
  nim-srpm-macros-2-1.fc30.noarch                                               
  perl-Archive-Zip-1.65-1.fc30.noarch                                           
  perl-Attribute-Handlers-1.01-440.fc30.noarch                                  
  perl-DB_File-1.852-1.fc30.x86_64                                              
  perl-Devel-PPPort-3.51-1.fc30.x86_64                                          
  perl-Devel-Peek-1.27-440.fc30.x86_64                                          
  perl-Devel-SelfStubber-1.06-440.fc30.noarch                                   
  perl-ExtUtils-Embed-1.35-440.fc30.noarch                                      
  perl-ExtUtils-Miniperl-1.08-440.fc30.noarch                                   
  perl-IO-Zlib-1:1.10-440.fc30.noarch                                           
  perl-IPC-Cmd-2:1.04-1.fc30.noarch                                             
  perl-Locale-Codes-3.62-1.fc30.noarch                                          
  perl-Locale-Maketext-Simple-1:0.21-440.fc30.noarch                            
  perl-Math-Complex-1.59-440.fc30.noarch                                        
  perl-Memoize-1.03-440.fc30.noarch                                             
  perl-Module-CoreList-1:5.20190820-1.fc30.noarch                               
  perl-Module-CoreList-tools-1:5.20190820-1.fc30.noarch                         
  perl-Module-Loaded-1:0.08-440.fc30.noarch                                     
  perl-Module-Metadata-1.000036-1.fc30.noarch                                   
  perl-Net-Ping-2.62-440.fc30.noarch                                            
  perl-Pod-Html-1.24-440.fc30.noarch                                            
  perl-SelfLoader-1.25-440.fc30.noarch                                          
  perl-Test-1.31-440.fc30.noarch                                                
  perl-Text-Template-1.55-2.fc30.noarch                                         
  perl-Time-Piece-1.33-440.fc30.x86_64                                          
  perl-devel-4:5.28.2-440.fc30.x86_64                                           
  perl-libnetcfg-4:5.28.2-440.fc30.noarch                                       
  perl-open-1.11-440.fc30.noarch                                                
  perl-utils-5.28.2-440.fc30.noarch                                             
  python3-pyparsing-2.4.0-1.fc30.noarch                                         
  qt5-srpm-macros-5.12.4-1.fc30.noarch                                          
  redhat-rpm-config-130-1.fc30.noarch                                           
  rust-srpm-macros-10-1.fc30.noarch                                             
  systemtap-sdt-devel-4.1-2.fc30.x86_64                                         
  binutils-2.31.1-29.fc30.x86_64                                                
  dwz-0.12-10.fc30.x86_64                                                       
  efi-srpm-macros-4-2.fc30.noarch                                               
  fpc-srpm-macros-1.2-1.fc30.noarch                                             
  gc-7.6.4-5.fc30.x86_64                                                        
  ghc-srpm-macros-1.4.2-9.fc30.noarch                                           
  gnat-srpm-macros-4-9.fc30.noarch                                              
  go-srpm-macros-2-19.fc30.noarch                                               
  guile22-2.2.4-3.fc30.x86_64                                                   
  isl-0.16.1-8.fc30.x86_64                                                      
  libatomic_ops-7.6.6-2.fc30.x86_64                                             
  libdatrie-0.2.9-9.fc30.x86_64                                                 
  libmpc-1.1.0-3.fc30.x86_64                                                    
  libthai-0.1.28-2.fc30.x86_64                                                  
  libtool-ltdl-2.4.6-29.fc30.x86_64                                             
  make-1:4.2.1-13.fc30.x86_64                                                   
  ocaml-srpm-macros-5-5.fc30.noarch                                             
  openblas-srpm-macros-2-5.fc30.noarch                                          
  perl-Algorithm-Diff-1.1903-12.fc30.noarch                                     
  perl-Archive-Tar-2.32-2.fc30.noarch                                           
  perl-B-Debug-1.26-419.fc30.noarch                                             
  perl-CPAN-2.26-1.fc30.noarch                                                  
  perl-CPAN-Meta-2.150010-418.fc30.noarch                                       
  perl-CPAN-Meta-Requirements-2.140-419.fc30.noarch                             
  perl-CPAN-Meta-YAML-0.018-419.fc30.noarch                                     
  perl-Compress-Bzip2-2.26-10.fc30.x86_64                                       
  perl-Compress-Raw-Bzip2-2.084-2.fc30.x86_64                                   
  perl-Compress-Raw-Zlib-2.084-2.fc30.x86_64                                    
  perl-Config-Perl-V-0.31-2.fc30.noarch                                         
  perl-Data-OptList-0.110-9.fc30.noarch                                         
  perl-Data-Section-0.200007-6.fc30.noarch                                      
  perl-Devel-Size-0.82-4.fc30.x86_64                                            
  perl-Digest-SHA-1:6.02-5.fc30.x86_64                                          
  perl-Encode-devel-4:3.01-10.fc30.x86_64                                       
  perl-Env-1.04-418.fc30.noarch                                                 
  perl-ExtUtils-CBuilder-1:0.280231-1.fc30.noarch                               
  perl-ExtUtils-Command-1:7.34-419.fc30.noarch                                  
  perl-ExtUtils-Install-2.14-419.fc30.noarch                                    
  perl-ExtUtils-MM-Utils-1:7.34-419.fc30.noarch                                 
  perl-ExtUtils-MakeMaker-1:7.34-419.fc30.noarch                                
  perl-ExtUtils-Manifest-1:1.72-1.fc30.noarch                                   
  perl-ExtUtils-ParseXS-1:3.39-419.fc30.noarch                                  
  perl-File-Fetch-0.56-418.fc30.noarch                                          
  perl-File-HomeDir-1.004-4.fc30.noarch                                         
  perl-File-Which-1.23-2.fc30.noarch                                            
  perl-Filter-2:1.59-2.fc30.x86_64                                              
  perl-Filter-Simple-0.95-418.fc30.noarch                                       
  perl-IO-Compress-2.084-2.fc30.noarch                                          
  perl-IPC-SysV-2.07-419.fc30.x86_64                                            
  perl-IPC-System-Simple-1.25-21.fc30.noarch                                    
  perl-Importer-0.025-4.fc30.noarch                                             
  perl-JSON-PP-1:4.02-1.fc30.noarch                                             
  perl-Locale-Maketext-1.29-419.fc30.noarch                                     
  perl-MIME-Charset-1.012.2-7.fc30.noarch                                       
  perl-MRO-Compat-0.13-7.fc30.noarch                                            
  perl-Math-BigInt-1:1.9998.16-2.fc30.noarch                                    
  perl-Math-BigInt-FastCalc-0.500.800-2.fc30.x86_64                             
  perl-Math-BigRat-0.2614-4.fc30.noarch                                         
  perl-Module-Build-2:0.42.24-11.fc30.noarch                                    
  perl-Module-Load-1:0.34-1.fc30.noarch                                         
  perl-Module-Load-Conditional-0.68-418.fc30.noarch                             
  perl-Package-Generator-1.106-14.fc30.noarch                                   
  perl-Params-Check-1:0.38-418.fc30.noarch                                      
  perl-Params-Util-1.07-26.fc30.x86_64                                          
  perl-Perl-OSType-1.010-420.fc30.noarch                                        
  perl-PerlIO-via-QuotedPrint-0.08-418.fc30.noarch                              
  perl-Pod-Checker-4:1.73-418.fc30.noarch                                       
  perl-Pod-Parser-1.63-419.fc30.noarch                                          
  perl-Software-License-0.103014-2.fc30.noarch                                  
  perl-Sub-Exporter-0.987-18.fc30.noarch                                        
  perl-Sub-Install-0.928-18.fc30.noarch                                         
  perl-Sys-Syslog-0.35-419.fc30.x86_64                                          
  perl-Term-Size-Perl-0.031-4.fc30.x86_64                                       
  perl-Term-Table-0.013-2.fc30.noarch                                           
  perl-Test-Harness-1:3.42-419.fc30.noarch                                      
  perl-Test-Simple-2:1.302162-1.fc30.noarch                                     
  perl-Text-Balanced-2.03-418.fc30.noarch                                       
  perl-Text-Diff-1.45-5.fc30.noarch                                             
  perl-Text-Glob-0.11-7.fc30.noarch                                             
  perl-Thread-Queue-3.13-2.fc30.noarch                                          
  perl-Time-HiRes-1.9760-1.fc30.x86_64                                          
  perl-Unicode-Collate-1.27-2.fc30.x86_64                                       
  perl-autodie-2.29-419.fc30.noarch                                             
  perl-bignum-0.51-2.fc30.noarch                                                
  perl-encoding-4:2.22-10.fc30.x86_64                                           
  perl-experimental-0.020-4.fc30.noarch                                         
  perl-inc-latest-2:0.500-12.fc30.noarch                                        
  perl-local-lib-2.000024-5.fc30.noarch                                         
  perl-perlfaq-5.20190126-2.fc30.noarch                                         
  perl-srpm-macros-1-29.fc30.noarch                                             
  perl-version-7:0.99.24-6.fc30.x86_64                                          
  python-srpm-macros-3-42.fc30.noarch                                           
  sombok-2.4.0-9.fc30.x86_64                                                    

Failed:
  glibc-headers-2.29-22.fc30.x86_64                                             

Error: Transaction failed
RGP_HELP_FMT: python3:  NULL:229: __resolv_context_put: Assertion ` NULL' failed.
RGP_HELP_FMT: Fatal error: glibc detected an invalid stdio handle
Aborted
sed: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5


⬢[user@toolbox Image-ExifTool-11.65]$ perl Makefile.PL
perl: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5
sed: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5

⬢[user@toolbox Image-ExifTool-11.65]$
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 538: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!

sed: symbol lookup error: /lib64/libc.so.6: undefined symbol: _res, version GLIBC_2.2.5

Should this work or should I do something differently?

You have to install the Perl module.
https://developer.fedoraproject.org/tech/languages/perl/perl-modules.html

but the error was with glibc-headers:

Failed:
 glibc-headers-2.29-22.fc30.x86_64  

Anyway, I entered the toolbox now and all is suddenly resolved. I did not do anything except a reboot since the last time